Skip to content
Snippets Groups Projects
Commit 306463e8 authored by Jupiter Hu's avatar Jupiter Hu
Browse files

Merge pull request #63 from l1ll1/master

fix up etcHosts role so it can find the file makehosts.py
parents 3266ec95 92bd98c1
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