Hi,
Anyone can help explain this:
*ansible-playbook docker-image-appserver.yml *
*PLAY [Build wildfly app server image]
***************************************** *
*GATHERING FACTS
*************************************************************** *
*Traceback (most recent call last):*
* File "/usr/local/bin/ansible-playbook", line 324, in <module>*
* sys.exit(main(sys.argv[1:]))*
* File "/usr/local/bin/ansible-playbook", line 264, in main*
* pb.run()*
* File
"/usr/local/lib/python2.7/dist-packages/ansible/playbook/__init__.py", line
348, in run*
* if not self._run_play(play):*
* File
"/usr/local/lib/python2.7/dist-packages/ansible/playbook/__init__.py", line
739, in _run_play*
* self._do_setup_step(play)*
* File
"/usr/local/lib/python2.7/dist-packages/ansible/playbook/__init__.py", line
629, in _do_setup_step*
* accelerate_port=play.accelerate_port,*
* File
"/usr/local/lib/python2.7/dist-packages/ansible/runner/__init__.py", line
233, in __init__*
* cmd = subprocess.Popen(['ssh','-o','ControlPersist'],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)*
* File "/usr/lib/python2.7/subprocess.py", line 710, in __init__*
* errread, errwrite)*
* File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child*
* raise child_exception*
*OSError: [Errno 2] No such file or directory*
The playbook *docker-image-appserver.yml *is simple, but fails even if I
comment out most of it (all tasks and roles):
---
- name: Build wildfly app server image
hosts: localhost
roles:
- hrstoyanov.peruncs_wildfly
tasks:
- name: Configure wildfly app server {{env_name}}
template:
src=templates/wildfly-standalone-full.xml.{{wildfly_version}}.j2
dest={{wildfly_conf_file}}
tags: [configure-wildfly]
---
- name: Build wildfly app server image
hosts: localhost
# roles:
# - hrstoyanov.peruncs_wildfly
# tasks:
# - name: Configure wildfly app server {{env_name}}
# template:
src=templates/wildfly-standalone-full.xml.{{wildfly_version}}.j2
dest={{wildfly_conf_file}}
# tags: [configure-wildfly]
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/f12c2527-513c-4d8b-8d98-57d8afab59e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.