Advertisement
aitormendez

Letsencrypt verbose

Jul 16th, 2016
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 5.68 KB | None | 0 0
  1. $ ansible-playbook server.yml -e env=production -K -vvvv --tags letsencrypt
  2. Using /Volumes/B/Documentos/trellis2/ansible/ansible.cfg as config file
  3. SUDO password:
  4. Loaded callback default of type stdout, v2.0
  5. 3 plays in server.yml
  6.  
  7. PLAY [Ensure necessary variables are defined] **********************************
  8.  
  9. PLAY [Determine Remote User] ***************************************************
  10.  
  11. TASK [remote-user : Determine whether to connect as root or admin_user] ********
  12. task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:2
  13. ESTABLISH LOCAL CONNECTION FOR USER: aitor
  14. localhost EXEC ( umask 22 && mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506 )" )
  15. localhost PUT /var/folders/83/zspg_f7j591b6c9gj9cgybfw0000gn/T/tmpuSdW9x TO /Users/aitor/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506/command
  16. localhost EXEC LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LC_MESSAGES=es_ES.UTF-8 /usr/bin/python /Users/aitor/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506/command; rm -rf "/Users/aitor/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506/" > /dev/null 2>&1
  17. ok: [185.14.185.42 -> localhost] => {"changed": false, "cmd": ["ansible", "185.14.185.42", "-m", "ping", "-u", "root"], "delta": "0:00:03.110845", "end": "2016-07-16 10:00:35.677653", "failed": false, "failed_when_result": false, "invocation": {"module_args": {"_raw_params": "ansible 185.14.185.42 -m ping -u root", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "warn": true}, "module_name": "command"}, "rc": 0, "start": "2016-07-16 10:00:32.566808", "stderr": "", "stdout": "185.14.185.42 | SUCCESS => {\n    \"changed\": false, \n    \"ping\": \"pong\"\n}", "stdout_lines": ["185.14.185.42 | SUCCESS => {", "    \"changed\": false, ", "    \"ping\": \"pong\"", "}"], "warnings": []}
  18.  
  19. TASK [remote-user : Set remote user for each host] *****************************
  20. task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:8
  21. ok: [185.14.185.42] => {"ansible_facts": {"ansible_ssh_user": "root"}, "changed": false, "invocation": {"module_args": {"ansible_ssh_user": "root"}, "module_name": "set_fact"}}
  22.  
  23. TASK [remote-user : Announce which user was selected] **************************
  24. task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:12
  25. ok: [185.14.185.42] => {
  26.     "msg": "Note: Ansible will attempt connections as user = root"
  27. }
  28.  
  29. PLAY [WordPress Server - Install LEMP Stack with PHP 7.0 and MariaDB MySQL] ****
  30.  
  31. TASK [setup] *******************************************************************
  32. <185.14.185.42> ESTABLISH SSH CONNECTION FOR USER: root
  33. <185.14.185.42> SSH: EXEC ssh -C -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/aitor/.ansible/cp/ansible-ssh-%h-%p-%r -tt 185.14.185.42 'mkdir -p "$( echo $HOME/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437 )" && echo "$( echo $HOME/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437 )"'
  34. <185.14.185.42> PUT /var/folders/83/zspg_f7j591b6c9gj9cgybfw0000gn/T/tmpCWAy1B TO /root/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437/setup
  35. <185.14.185.42> SSH: EXEC sftp -b - -C -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/aitor/.ansible/cp/ansible-ssh-%h-%p-%r '[185.14.185.42]'
  36. <185.14.185.42> ESTABLISH SSH CONNECTION FOR USER: root
  37. <185.14.185.42> SSH: EXEC ssh -C -vvv -o ForwardAgent=yes -o ControlMaster=auto -o ControlPersist=60s -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 -o ControlPath=/Users/aitor/.ansible/cp/ansible-ssh-%h-%p-%r -tt 185.14.185.42 'LANG=es_ES.UTF-8 LC_ALL=es_ES.UTF-8 LC_MESSAGES=es_ES.UTF-8 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437/setup; rm -rf "/root/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437/" > /dev/null 2>&1'
  38. ok: [185.14.185.42]
  39.  
  40. TASK [composer : include] ******************************************************
  41. task path: /Volumes/B/Documentos/trellis2/ansible/vendor/roles/composer/tasks/main.yml:52
  42. included: /Volumes/B/Documentos/trellis2/ansible/vendor/roles/composer/tasks/global-require.yml for 185.14.185.42
  43.  
  44. TASK [wordpress-setup : include] ***********************************************
  45. task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:2
  46. included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/database.yml for 185.14.185.42
  47.  
  48. TASK [wordpress-setup : include] ***********************************************
  49. task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:4
  50. included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/self-signed-certificate.yml for 185.14.185.42
  51.  
  52. TASK [wordpress-setup : include] ***********************************************
  53. task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:6
  54. included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/nginx.yml for 185.14.185.42
  55.  
  56. PLAY RECAP *********************************************************************
  57. 185.14.185.42              : ok=8    changed=0    unreachable=0    failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement