Refactor distro vars include
We can simplify this logic a little. Change-Id: Ib7429b7409e05af5b0b82e47c04633fe8e731cb8 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
531d0960e8
commit
fa67753f17
@ -12,13 +12,8 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
---
|
---
|
||||||
- name: Include OS-specific variables
|
|
||||||
include_vars: "{{ ansible_distribution|lower }}.yaml"
|
|
||||||
when: ansible_os_family == 'Debian'
|
|
||||||
|
|
||||||
- name: Include OS-specific variables
|
- name: Include OS-specific variables
|
||||||
include_vars: "{{ ansible_os_family | lower }}.yaml"
|
include_vars: "{{ ansible_os_family | lower }}.yaml"
|
||||||
when: ansible_os_family == 'RedHat'
|
|
||||||
|
|
||||||
- include: "{{ nodepool_task }}.yaml"
|
- include: "{{ nodepool_task }}.yaml"
|
||||||
with_items: "{{ nodepool_task_manager }}"
|
with_items: "{{ nodepool_task_manager }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user