ok using a tmp inventory file was my problem. my bad.

This commit is contained in:
Stephen Smoogen 2014-05-16 22:53:55 +00:00
parent d52f39215a
commit 84839ad928

View file

@ -1,25 +1,25 @@
# - name: Download servers
# hosts: download
# user: root
# gather_facts: False
# accelerate: False
- name: Download servers
hosts: download
user: root
gather_facts: False
accelerate: False
# vars_files:
# - /srv/web/infra/ansible/vars/global.yml
# - "{{ private }}/vars.yml"
# - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
vars_files:
- /srv/web/infra/ansible/vars/global.yml
- "{{ private }}/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
# tasks:
# - include: "{{ tasks }}/accelerate_prep.yml"
tasks:
- include: "{{ tasks }}/accelerate_prep.yml"
# handlers:
# - include: "{{ handlers }}/restart_services.yml"
handlers:
- include: "{{ handlers }}/restart_services.yml"
- name: make the box be real
hosts: download
user: root
gather_facts: True
accelerate: False
accelerate: True
vars_files:
- /srv/web/infra/ansible/vars/global.yml