Created
April 29, 2016 13:29
-
-
Save antoviaque/f38265e07c17060be4acf5f973b9d827 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
antoviaque@antoviaque-laptop:~/prog/edx/devops/deployment-secrets-databases$ ./venv/bin/ansible-playbook deploy/deploy-all.yml --vault-password-file .vault-pass -u ubuntu --extra-vars @private-extra-vars.yml | |
PLAY [Set up Mysql server] ***************************************************** | |
TASK [setup] ******************************************************************* | |
ok: [167.114.238.51] | |
TASK [configure-apt : apt-get update && dist-upgrade] ************************** | |
ok: [167.114.238.51] | |
TASK [configure-apt : Check if packages need to be autoremoved] **************** | |
ok: [167.114.238.51] | |
[WARNING]: Consider using apt-get module rather than running apt-get | |
TASK [configure-apt : Autoremove unused packages] ****************************** | |
skipping: [167.114.238.51] | |
TASK [configure-apt : Install prerequisite packages] *************************** | |
changed: [167.114.238.51] => (item=[u'htop', u'ntp', u'sudo', u'vim', u'iftop', u'iotop', u'mosh', u'git', u'screen', u'build-essential', u'apticron', u'apt-file', u'links', u'tree', u'pwgen', u'libxml2-dev', u'libxslt1-dev', u'python-dev']) | |
TASK [geerlingguy.security : Include OS-specific variables.] ******************* | |
ok: [167.114.238.51] | |
TASK [geerlingguy.security : include] ****************************************** | |
skipping: [167.114.238.51] | |
TASK [geerlingguy.security : include] ****************************************** | |
included: /home/antoviaque/prog/edx/devops/deployment-secrets-databases/deploy/roles/geerlingguy.security/tasks/fail2ban-Debian.yml for 167.114.238.51 | |
TASK [geerlingguy.security : Install fail2ban.] ******************************** | |
changed: [167.114.238.51] | |
TASK [geerlingguy.security : Ensure fail2ban is running and enabled on boot.] ** | |
ok: [167.114.238.51] | |
TASK [geerlingguy.security : include] ****************************************** | |
included: /home/antoviaque/prog/edx/devops/deployment-secrets-databases/deploy/roles/geerlingguy.security/tasks/ssh.yml for 167.114.238.51 | |
TASK [geerlingguy.security : Update SSH configuration to be more secure.] ****** | |
ok: [167.114.238.51] => (item={u'regexp': u'^PasswordAuthentication', u'line': u'PasswordAuthentication no'}) | |
changed: [167.114.238.51] => (item={u'regexp': u'^PermitRootLogin', u'line': u'PermitRootLogin no'}) | |
ok: [167.114.238.51] => (item={u'regexp': u'^Port', u'line': u'Port 22'}) | |
TASK [geerlingguy.security : Add configured user accounts to passwordless sudoers.] *** | |
TASK [geerlingguy.security : Add configured user accounts to passworded sudoers.] *** | |
TASK [geerlingguy.security : include] ****************************************** | |
skipping: [167.114.238.51] | |
TASK [geerlingguy.security : include] ****************************************** | |
included: /home/antoviaque/prog/edx/devops/deployment-secrets-databases/deploy/roles/geerlingguy.security/tasks/autoupdate-Debian.yml for 167.114.238.51 | |
TASK [geerlingguy.security : Install unattended upgrades package.] ************* | |
ok: [167.114.238.51] | |
TASK [geerlingguy.security : Copy unattended-upgrades configuration files in place.] *** | |
changed: [167.114.238.51] => (item=10periodic) | |
changed: [167.114.238.51] => (item=50unattended-upgrades) | |
TASK [sanity-checker : copy sanity check script] ******************************* | |
changed: [167.114.238.51] | |
TASK [sanity-checker : copy sanity check config] ******************************* | |
changed: [167.114.238.51] | |
TASK [sanity-checker : install sanity checks crontab] ************************** | |
changed: [167.114.238.51] | |
TASK [sanity-checker : Run sanity check] *************************************** | |
changed: [167.114.238.51] | |
TASK [forward-server-mail : install deps] ************************************** | |
changed: [167.114.238.51] => (item=[u'postfix', u'mailutils', u'libsasl2-2', u'ca-certificates', u'libsasl2-modules']) | |
TASK [forward-server-mail : template postfix] ********************************** | |
changed: [167.114.238.51] | |
TASK [forward-server-mail : template aliases] ********************************** | |
changed: [167.114.238.51] | |
TASK [forward-server-mail : template password] ********************************* | |
changed: [167.114.238.51] | |
TASK [forward-server-mail : template canonical] ******************************** | |
changed: [167.114.238.51] | |
TASK [forward-server-mail : update aliases] ************************************ | |
fatal: [167.114.238.51]: FAILED! => {"changed": true, "cmd": ["newaliases"], "delta": "0:00:00.003421", "end": "2016-04-29 13:17:59.198142", "failed": true, "rc": 75, "start": "2016-04-29 13:17:59.194721", "stderr": "newaliases: warning: valid_hostname: numeric hostname: 167.114.238.51\nnewaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: 167.114.238.51", "stdout": "", "stdout_lines": [], "warnings": []} | |
NO MORE HOSTS LEFT ************************************************************* | |
RUNNING HANDLER [geerlingguy.security : restart ssh] *************************** | |
to retry, use: --limit @deploy/deploy-all.retry | |
PLAY RECAP ********************************************************************* | |
167.114.238.51 : ok=22 changed=13 unreachable=0 failed=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment