Skip to content
Snippets Groups Projects
Commit 92bd98c1 authored by Chris Hines's avatar Chris Hines
Browse files

fix up etcHosts role so it can find the file makehosts.py

parent 3266ec95
No related branches found
No related tags found
No related merge requests found
File moved
...@@ -3,8 +3,13 @@ ...@@ -3,8 +3,13 @@
run_once: True run_once: True
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
- name: copy script
copy: src=makehosts.py dest=/tmp/makehosts.py mode=755
delegate_to: 127.0.0.1
run_once: True
- name: make hosts data - name: make hosts data
command: ./scripts/makehosts.py /tmp/groups {{ domain }} command: /tmp/makehosts.py /tmp/groups {{ domain }}
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
run_once: True run_once: True
register: hosts_data register: hosts_data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment