Fix some 'issues' raised by ansible-lint
This commit is contained in:
parent
188e58bc94
commit
2529d207ed
@ -78,7 +78,8 @@
|
|||||||
sort }}
|
sort }}
|
||||||
|
|
||||||
# Register the new flavors.
|
# Register the new flavors.
|
||||||
- include_role:
|
- name: Include the stackhpc.os-flavors role
|
||||||
|
include_role:
|
||||||
role: stackhpc.os-flavors
|
role: stackhpc.os-flavors
|
||||||
os_flavors_venv: "{{ venv }}"
|
os_flavors_venv: "{{ venv }}"
|
||||||
os_flavors_auth_type: "{{ openstack_auth_type }}"
|
os_flavors_auth_type: "{{ openstack_auth_type }}"
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- include_vars: "{{ ansible_os_family }}.yml"
|
- name: Include OS family-specific variables
|
||||||
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Ensure required packages are installed
|
- name: Ensure required packages are installed
|
||||||
package:
|
package:
|
||||||
|
@ -7,10 +7,12 @@
|
|||||||
changed_when: False
|
changed_when: False
|
||||||
register: ip_allocation_os_release
|
register: ip_allocation_os_release
|
||||||
|
|
||||||
- include_vars: "RedHat.yml"
|
- name: Include RedHat family-specific variables
|
||||||
|
include_vars: "RedHat.yml"
|
||||||
when: ip_allocation_os_release.stdout in ['centos', 'fedora', 'rhel']
|
when: ip_allocation_os_release.stdout in ['centos', 'fedora', 'rhel']
|
||||||
|
|
||||||
- include_vars: "Debian.yml"
|
- name: Include Debian family-specific variables
|
||||||
|
include_vars: "Debian.yml"
|
||||||
when: ip_allocation_os_release.stdout in ['debian', 'ubuntu']
|
when: ip_allocation_os_release.stdout in ['debian', 'ubuntu']
|
||||||
|
|
||||||
# Note: Currently we install these using the system package manager rather than
|
# Note: Currently we install these using the system package manager rather than
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
- include_vars: "{{ ansible_os_family }}.yml"
|
- name: Include OS family-specific variables
|
||||||
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
|
||||||
- name: Ensure EPEL repo is installed
|
- name: Ensure EPEL repo is installed
|
||||||
yum:
|
yum:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user