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

Add conditional to fix multiple hosts

parent 7d757c31
No related branches found
No related tags found
No related merge requests found
---
domain: testdomain.massive.org.au
create_facts: true
......@@ -2,6 +2,7 @@
template: dest=/tmp/groups src=groups.j2
run_once: True
delegate_to: 127.0.0.1
when: create_facts
- name: make hosts data
command: ./scripts/makehosts.py /tmp/groups {{ domain }}
......
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