Skip to content

Instantly share code, notes, and snippets.

@ricbra
Created September 30, 2014 12:54
Show Gist options
  • Save ricbra/b566c92f4fb516552080 to your computer and use it in GitHub Desktop.
Save ricbra/b566c92f4fb516552080 to your computer and use it in GitHub Desktop.
Ansible output
PLAY [Create MySQL user and database] *****************************************
GATHERING FACTS ***************************************************************
<192.168.100.21> ESTABLISH CONNECTION FOR USER: root
<192.168.100.21> REMOTE_MODULE setup
<192.168.100.21> EXEC ['ssh', '-C', '-q', '-F', './ssh_config', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/ricbra/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '192.168.100.21', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"]
ok: [db1]
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/sites/www.ooxoo.nl
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/sites-secure/www.ooxoo.nl
db1: importing /Users/ricbra/projects/ansible/vars/vagrant/secure.yml
TASK: [mysql_db collation={{ mysql_collate }} encoding={{ mysql_charset }} name={{ mysql_db }} state=present] ***
<192.168.100.21> ESTABLISH CONNECTION FOR USER: root
<192.168.100.21> REMOTE_MODULE mysql_db collation=utf8_unicode_ci encoding=utf8 name=wb-staging state=present
<192.168.100.21> EXEC ['ssh', '-C', '-q', '-F', './ssh_config', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/ricbra/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '192.168.100.21', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"]
ok: [db1] => {"changed": false, "db": "wb-staging"}
TASK: [mysql_user host=192.168.100.11 name={{ mysql_user }} priv={{ mysql_db}}.*:ALL password={{ mysql_password }} state=present] ***
<192.168.100.21> ESTABLISH CONNECTION FOR USER: root
<192.168.100.21> REMOTE_MODULE mysql_user host=192.168.100.11 name=wb-staging priv=wb-staging.*:ALL password=VALUE_HIDDEN state=present
<192.168.100.21> EXEC ['ssh', '-C', '-q', '-F', './ssh_config', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/ricbra/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '192.168.100.21', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"]
ok: [db1] => {"changed": false, "user": "wb-staging"}
TASK: [mysql_user host=localhost name={{ mysql_user }} priv={{ mysql_db}}.*:ALL password={{ mysql_password }} state=present] ***
<192.168.100.21> ESTABLISH CONNECTION FOR USER: root
<192.168.100.21> REMOTE_MODULE mysql_user host=localhost name=wb-staging priv=wb-staging.*:ALL password=VALUE_HIDDEN state=present
<192.168.100.21> EXEC ['ssh', '-C', '-q', '-F', './ssh_config', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/ricbra/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'User=root', '-o', 'ConnectTimeout=10', '192.168.100.21', u"/bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'"]
ok: [db1] => {"changed": false, "user": "wb-staging"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment