Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ ansible-playbook server.yml -e env=production -K -vvvv --tags letsencrypt
- Using /Volumes/B/Documentos/trellis2/ansible/ansible.cfg as config file
- SUDO password:
- Loaded callback default of type stdout, v2.0
- 3 plays in server.yml
- PLAY [Ensure necessary variables are defined] **********************************
- PLAY [Determine Remote User] ***************************************************
- TASK [remote-user : Determine whether to connect as root or admin_user] ********
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:2
- ESTABLISH LOCAL CONNECTION FOR USER: aitor
- 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 )" )
- localhost PUT /var/folders/83/zspg_f7j591b6c9gj9cgybfw0000gn/T/tmpuSdW9x TO /Users/aitor/.ansible/tmp/ansible-tmp-1468656032.49-134432477199506/command
- 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
- 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": []}
- TASK [remote-user : Set remote user for each host] *****************************
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:8
- ok: [185.14.185.42] => {"ansible_facts": {"ansible_ssh_user": "root"}, "changed": false, "invocation": {"module_args": {"ansible_ssh_user": "root"}, "module_name": "set_fact"}}
- TASK [remote-user : Announce which user was selected] **************************
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/remote-user/tasks/main.yml:12
- ok: [185.14.185.42] => {
- "msg": "Note: Ansible will attempt connections as user = root"
- }
- PLAY [WordPress Server - Install LEMP Stack with PHP 7.0 and MariaDB MySQL] ****
- TASK [setup] *******************************************************************
- <185.14.185.42> ESTABLISH SSH CONNECTION FOR USER: root
- <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 )"'
- <185.14.185.42> PUT /var/folders/83/zspg_f7j591b6c9gj9cgybfw0000gn/T/tmpCWAy1B TO /root/.ansible/tmp/ansible-tmp-1468656035.87-140638055205437/setup
- <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]'
- <185.14.185.42> ESTABLISH SSH CONNECTION FOR USER: root
- <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'
- ok: [185.14.185.42]
- TASK [composer : include] ******************************************************
- task path: /Volumes/B/Documentos/trellis2/ansible/vendor/roles/composer/tasks/main.yml:52
- included: /Volumes/B/Documentos/trellis2/ansible/vendor/roles/composer/tasks/global-require.yml for 185.14.185.42
- TASK [wordpress-setup : include] ***********************************************
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:2
- included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/database.yml for 185.14.185.42
- TASK [wordpress-setup : include] ***********************************************
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:4
- included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/self-signed-certificate.yml for 185.14.185.42
- TASK [wordpress-setup : include] ***********************************************
- task path: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/main.yml:6
- included: /Volumes/B/Documentos/trellis2/ansible/roles/wordpress-setup/tasks/nginx.yml for 185.14.185.42
- PLAY RECAP *********************************************************************
- 185.14.185.42 : ok=8 changed=0 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement