SHARE
TWEET

Untitled

ADrobkov Apr 27th, 2019 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ansible-playbook site-create.yml --extra-vars='{username: "user1", userpass: "123123@@", domains: "ct.cloud-controller.ru", php: "7.1", document_root: "public"}'
  2.  
  3. ansible-playbook site-create.yml --extra-vars='{username: "user1", userpass: "123123", domains: "bx-controller.tk 4.bx-controller.tk", php: "7.1"}'
  4.  
  5.  
  6. ############## SSL ###########
  7.  
  8. certbot certonly --webroot -w /usr/share/nginx/html -d ct.cloud-controller.ru
  9.  
  10. ansible-playbook site-create.yml --extra-vars='{username: "user1", userpass: "123123", domains: "ct.cloud-controller.ru", document_root: "public", php: "7.1", nginx_vhost: "vhost-ssl", ssl_cert: "/etc/letsencrypt/live/ct.cloud-controller.ru/fullchain.pem", ssl_key: "/etc/letsencrypt/live/ct.cloud-controller.ru/privkey.pem" }'
  11.  
  12. ##################
  13.  
  14.  
  15. ansible-playbook site-delete.yml --extra-vars='{username: "user1"}'
  16.  
  17.  
  18. ansible-playbook db-create.yml --extra-vars='{db_name: "user1", db_pass: "123123"}'
  19. ansible-playbook db-delete.yml --extra-vars='{db_name: "user1"}'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top