NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

labuser@ip-172-31-29-140:~/Desktop/Project/slamdunk-itis-apr23-phase2$ ansible-playbook -vvv ~/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml
ansible-playbook 2.9.27
config file = /etc/ansible/ansible.cfg
configured module search path = [u'/home/labuser/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python2.7/dist-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.17 (default, Feb 27 2021, 15:10:58) [GCC 7.5.0]
Using /etc/ansible/ansible.cfg as config file
host_list declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
script declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
auto declined parsing /etc/ansible/hosts as it did not pass its verify_file() method
Parsed /etc/ansible/hosts inventory source with ini plugin
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: playbook.yml **********************************************************************************************************************
1 plays in /home/labuser/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml

PLAY [localhost] ****************************************************************************************************************************

TASK [Gathering Facts] **********************************************************************************************************************
task path: /home/labuser/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml:2
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: labuser
<127.0.0.1> EXEC /bin/sh -c 'echo ~labuser && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/labuser/.ansible/tmp `"&& mkdir "` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805 `" && echo ansible-tmp-1682742953.41-26841-243914513017805="` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805 `" ) && sleep 0'
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/system/setup.py
<127.0.0.1> PUT /home/labuser/.ansible/tmp/ansible-local-26834ZyldRl/tmp_1NH7B TO /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805/AnsiballZ_setup.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805/ /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805/AnsiballZ_setup.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-gnqpfkznrtaunfwowixubvcfzrxjyelp ; /usr/bin/python2 /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805/AnsiballZ_setup.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/labuser/.ansible/tmp/ansible-tmp-1682742953.41-26841-243914513017805/ > /dev/null 2>&1 && sleep 0'
ok: [localhost]
META: ran handlers

TASK [Create Docker bridge network] *********************************************************************************************************
task path: /home/labuser/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml:5
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: labuser
<127.0.0.1> EXEC /bin/sh -c 'echo ~labuser && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/labuser/.ansible/tmp `"&& mkdir "` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197 `" && echo ansible-tmp-1682742955.39-26955-44011916399197="` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197 `" ) && sleep 0'
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_network.py
<127.0.0.1> PUT /home/labuser/.ansible/tmp/ansible-local-26834ZyldRl/tmpgtT6Hm TO /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197/AnsiballZ_docker_network.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197/ /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197/AnsiballZ_docker_network.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-zjprgyykxzrefrfmzrzgfuaalhygtehw ; /usr/bin/python2 /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197/AnsiballZ_docker_network.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/labuser/.ansible/tmp/ansible-tmp-1682742955.39-26955-44011916399197/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"ansible_facts": {
"docker_network": {
"Attachable": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Created": "2023-04-29T04:32:07.497152144Z",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Config": [
{
"Gateway": "172.18.0.1",
"Subnet": "172.18.0.0/16"
}
],
"Driver": "default",
"Options": null
},
"Id": "afdb4113dba1e8eb2b172b33292980141eea43592e122ed039eb5388cc3ca978",
"Ingress": false,
"Internal": false,
"Labels": {},
"Name": "app_network",
"Options": {},
"Scope": "local"
}
},
"changed": false,
"invocation": {
"module_args": {
"api_version": "auto",
"appends": false,
"attachable": null,
"ca_cert": null,
"client_cert": null,
"client_key": null,
"connected": [],
"debug": false,
"docker_host": "unix://var/run/docker.sock",
"driver": "bridge",
"driver_options": {},
"enable_ipv6": null,
"force": false,
"internal": null,
"ipam_config": null,
"ipam_driver": null,
"ipam_driver_options": null,
"ipam_options": {
"aux_addresses": null,
"gateway": null,
"iprange": null,
"subnet": null
},
"labels": {},
"name": "app_network",
"scope": null,
"ssl_version": null,
"state": "present",
"timeout": 60,
"tls": false,
"tls_hostname": "localhost",
"validate_certs": false
}
},
"network": {
"Attachable": false,
"ConfigFrom": {
"Network": ""
},
"ConfigOnly": false,
"Containers": {},
"Created": "2023-04-29T04:32:07.497152144Z",
"Driver": "bridge",
"EnableIPv6": false,
"IPAM": {
"Config": [
{
"Gateway": "172.18.0.1",
"Subnet": "172.18.0.0/16"
}
],
"Driver": "default",
"Options": null
},
"Id": "afdb4113dba1e8eb2b172b33292980141eea43592e122ed039eb5388cc3ca978",
"Ingress": false,
"Internal": false,
"Labels": {},
"Name": "app_network",
"Options": {},
"Scope": "local"
}
}

TASK [Create Docker volume] *****************************************************************************************************************
task path: /home/labuser/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml:9
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: labuser
<127.0.0.1> EXEC /bin/sh -c 'echo ~labuser && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/labuser/.ansible/tmp `"&& mkdir "` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908 `" && echo ansible-tmp-1682742955.88-27001-83930379431908="` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908 `" ) && sleep 0'
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_volume.py
<127.0.0.1> PUT /home/labuser/.ansible/tmp/ansible-local-26834ZyldRl/tmpgnPBh3 TO /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908/AnsiballZ_docker_volume.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908/ /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908/AnsiballZ_docker_volume.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-zzmwplxlnpraqspybleujldpdmnievlk ; /usr/bin/python2 /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908/AnsiballZ_docker_volume.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/labuser/.ansible/tmp/ansible-tmp-1682742955.88-27001-83930379431908/ > /dev/null 2>&1 && sleep 0'
ok: [localhost] => {
"ansible_facts": {
"docker_volume": {
"CreatedAt": "2023-04-29T04:32:08Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/app_volume/_data",
"Name": "app_volume",
"Options": {},
"Scope": "local"
}
},
"changed": false,
"invocation": {
"module_args": {
"api_version": "auto",
"ca_cert": null,
"client_cert": null,
"client_key": null,
"debug": false,
"docker_host": "unix://var/run/docker.sock",
"driver": "local",
"driver_options": {},
"force": null,
"labels": null,
"name": "app_volume",
"recreate": "never",
"ssl_version": null,
"state": "present",
"timeout": 60,
"tls": false,
"tls_hostname": "localhost",
"validate_certs": false,
"volume_name": "app_volume"
}
},
"volume": {
"CreatedAt": "2023-04-29T04:32:08Z",
"Driver": "local",
"Labels": null,
"Mountpoint": "/var/lib/docker/volumes/app_volume/_data",
"Name": "app_volume",
"Options": {},
"Scope": "local"
}
}

TASK [Run Docker Compose] *******************************************************************************************************************
task path: /home/labuser/Desktop/Project/slamdunk-itis-apr23-phase2/playbook.yml:13
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: labuser
<127.0.0.1> EXEC /bin/sh -c 'echo ~labuser && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/labuser/.ansible/tmp `"&& mkdir "` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464 `" && echo ansible-tmp-1682742956.35-27048-187671224067464="` echo /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464 `" ) && sleep 0'
Using module file /usr/lib/python2.7/dist-packages/ansible/modules/cloud/docker/docker_compose.py
<127.0.0.1> PUT /home/labuser/.ansible/tmp/ansible-local-26834ZyldRl/tmpjRkWBp TO /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464/AnsiballZ_docker_compose.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464/ /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464/AnsiballZ_docker_compose.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'sudo -H -S -n -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-rsxfixgrkevmvtcupqcnyxcjmfapjzep ; /usr/bin/python2 /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464/AnsiballZ_docker_compose.py'"'"' && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/labuser/.ansible/tmp/ansible-tmp-1682742956.35-27048-187671224067464/ > /dev/null 2>&1 && sleep 0'
fatal: [localhost]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"docker_compose_path": "~/Desktop/Project/slamdunk-itis-apr23-phase2/docker-compose.yml",
"project_name": "playkart",
"state": "present"
}
},
"msg": "Unsupported parameters for (docker_compose) module: docker_compose_path Supported parameters include: api_version, build, ca_cert, client_cert, client_key, debug, definition, dependencies, docker_host, files, hostname_check, nocache, project_name, project_src, pull, recreate, remove_images, remove_orphans, remove_volumes, restarted, scale, services, ssl_version, state, stopped, timeout, tls, tls_hostname, validate_certs"
}

PLAY RECAP **********************************************************************************************************************************
localhost : ok=3 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

labuser@ip-172-31-29-140:~/Desktop/Project/slamdunk-itis-apr23-phase2$
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.