Rename vars/ directory to prevent conflicts
/vars directories from 'tox' playbook and roles are merged, which creates conflicts and wrong variables are loaded into the playbook Prevent merge of /vars directories from roles and 'tox' playbook by renaming variables directory of playbook to molecule-vars. It should fix failing job tripleo-ansible-centos-7-role-addition Change-Id: Iee6768a27db36a3a18c0728040ab9c09857d55b6
This commit is contained in:
parent
33fc86060b
commit
4d168ed016
@ -7,12 +7,12 @@
|
|||||||
with_first_found:
|
with_first_found:
|
||||||
- skip: true
|
- skip: true
|
||||||
files:
|
files:
|
||||||
- "vars/{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yaml"
|
- "molecule-vars/{{ ansible_distribution | lower }}-{{ ansible_distribution_version | lower }}.yaml"
|
||||||
- "vars/{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yaml"
|
- "molecule-vars/{{ ansible_distribution | lower }}-{{ ansible_distribution_major_version | lower }}.yaml"
|
||||||
- "vars/{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yaml"
|
- "molecule-vars/{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version | lower }}.yaml"
|
||||||
- "vars/{{ ansible_distribution | lower }}.yaml"
|
- "molecule-vars/{{ ansible_distribution | lower }}.yaml"
|
||||||
- "vars/{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split('.')[0] }}.yaml"
|
- "molecule-vars/{{ ansible_os_family | lower }}-{{ ansible_distribution_version.split('.')[0] }}.yaml"
|
||||||
- "vars/{{ ansible_os_family | lower }}.yaml"
|
- "molecule-vars/{{ ansible_os_family | lower }}.yaml"
|
||||||
tags:
|
tags:
|
||||||
- always
|
- always
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user