cloud-noc01: test fixing passing vars to task and abstract paths out
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
f15f50b4dc
commit
d59a7c2c44
2 changed files with 7 additions and 4 deletions
|
@ -18,6 +18,7 @@ ansible_ifcfg_disabled: []
|
|||
# qa02.qa it's em3. currently this only affects whether GATEWAY, DOMAIN
|
||||
# and DNS1/DNS2 lines are put into ifcfg-(device).
|
||||
ansible_ifcfg_infra_net_devices: ['eth0', 'enc900']
|
||||
ansible_private: /srv/private
|
||||
#
|
||||
# Autodetect python version
|
||||
#
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
# This is a basic playbook
|
||||
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=cloud-noc01.fedorainfracloud.org"
|
||||
- import_playbook: "{{ ansible_base }}ansible/playbooks/include/virt-create.yml"
|
||||
vars:
|
||||
myhosts: cloud-noc01.fedorainfracloud.org
|
||||
|
||||
- name: make cloud noc hardware
|
||||
hosts: cloud-noc01.fedorainfracloud.org
|
||||
|
@ -8,9 +10,9 @@
|
|||
gather_facts: True
|
||||
|
||||
vars_files:
|
||||
- /srv/web/infra/ansible/vars/global.yml
|
||||
- "/srv/private/ansible/vars.yml"
|
||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||
- "{{ ansible_base }}/ansible/vars/global.yml"
|
||||
- "{{ ansible_private }}/ansible/vars.yml"
|
||||
- "{{ ansible_base }}/ansible/vars/{{ ansible_distribution }}.yml"
|
||||
|
||||
roles:
|
||||
- base
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue