Fix some 'issues' raised by ansible-lint

This commit is contained in:
Mark Goddard 2017-09-10 19:27:43 +01:00
parent 188e58bc94
commit 2529d207ed
5 changed files with 11 additions and 6 deletions

View File

@ -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 }}"

View File

@ -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"

View File

@ -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:

View File

@ -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

View File

@ -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: