Add yml extension to kubespray inventory
Since the update to ansible 2.4 this seems required to select the appropriate inventory plugin Change-Id: I9499dac7b13284bccd05043eb59bbba67c24fa20
This commit is contained in:
parent
4e7821a9cb
commit
dc621da47f
@ -84,7 +84,7 @@ outputs:
|
||||
- "{{playbook_dir}}/kubespray/artifacts"
|
||||
- name: generate kubespray inventory
|
||||
copy:
|
||||
dest: "{{playbook_dir}}/kubespray/inventory"
|
||||
dest: "{{playbook_dir}}/kubespray/inventory.yml"
|
||||
content: |
|
||||
kube-master:
|
||||
hosts:
|
||||
@ -135,7 +135,7 @@ outputs:
|
||||
{%- else -%}
|
||||
ansible-playbook
|
||||
-b
|
||||
-i '{{playbook_dir}}/kubespray/inventory'
|
||||
-i '{{playbook_dir}}/kubespray/inventory.yml'
|
||||
--skip-tags docker,bastion-ssh-config
|
||||
--extra-vars '@{{playbook_dir}}/kubespray/global_vars.yml'
|
||||
'{{playbook_dir}}/kubespray/playbook.yml'
|
||||
|
Loading…
Reference in New Issue
Block a user