Fix some 'issues' raised by ansible-lint
This commit is contained in:
parent
188e58bc94
commit
2529d207ed
@ -78,7 +78,8 @@
|
||||
sort }}
|
||||
|
||||
# Register the new flavors.
|
||||
- include_role:
|
||||
- name: Include the stackhpc.os-flavors role
|
||||
include_role:
|
||||
role: stackhpc.os-flavors
|
||||
os_flavors_venv: "{{ venv }}"
|
||||
os_flavors_auth_type: "{{ openstack_auth_type }}"
|
||||
|
@ -95,7 +95,7 @@
|
||||
- "{{ 'vlan' not in item.1.0 }}"
|
||||
# Ignore trunk links.
|
||||
- "{{ '-trunk' not in item.1.1.description }}"
|
||||
|
||||
|
||||
roles:
|
||||
- role: ironic-inspector-rules
|
||||
ironic_inspector_venv: "{{ virtualenv_path }}/shade"
|
||||
|
@ -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
|
||||
package:
|
||||
|
@ -7,10 +7,12 @@
|
||||
changed_when: False
|
||||
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']
|
||||
|
||||
- include_vars: "Debian.yml"
|
||||
- name: Include Debian family-specific variables
|
||||
include_vars: "Debian.yml"
|
||||
when: ip_allocation_os_release.stdout in ['debian', 'ubuntu']
|
||||
|
||||
# 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
|
||||
yum:
|
||||
|
Loading…
Reference in New Issue
Block a user