ok using a tmp inventory file was my problem. my bad.
This commit is contained in:
parent
d52f39215a
commit
84839ad928
1 changed files with 14 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue