Fix ansible-lint errors
Add jinja[spacing] to warn list and fix name[play] issues. Change-Id: Ie9d1d92e8c2fc2e69e0d1fd14ec859ebc67f6a38
This commit is contained in:
parent
0cd55eae06
commit
6af32ae579
@ -6,3 +6,4 @@ warn_list:
|
||||
- command-instead-of-shell # Use shell only when shell functionality is required
|
||||
- experimental # all rules tagged as experimental
|
||||
- fqcn-builtins # Use FQCN for builtin actions.
|
||||
- jinja[spacing] # Jinja2 spacing could be improved
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Cleanup Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- cleanup-state
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: all
|
||||
- name: Deploy Tenks
|
||||
hosts: all
|
||||
tags:
|
||||
- always
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Register Nova flavors
|
||||
hosts: localhost
|
||||
tags:
|
||||
- flavor-registration
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Load current Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- host-setup
|
||||
tasks:
|
||||
@ -8,7 +9,8 @@
|
||||
file: "{{ state_file_path }}"
|
||||
name: tenks_state
|
||||
|
||||
- hosts: hypervisors
|
||||
- name: Run hypervisor setup
|
||||
hosts: hypervisors
|
||||
tags:
|
||||
- host-setup
|
||||
vars:
|
||||
@ -17,7 +19,8 @@
|
||||
tasks:
|
||||
- include_tasks: hypervisor_setup.yml
|
||||
|
||||
- hosts: libvirt
|
||||
- name: Set up libvirt and vbmc
|
||||
hosts: libvirt
|
||||
tags:
|
||||
- host-setup
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Load current Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- node-bmc
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Enroll nodes in Ironic
|
||||
hosts: localhost
|
||||
tags:
|
||||
- node-enrolment
|
||||
- node-enrollment
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Load current Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- node-instantiation
|
||||
tasks:
|
||||
@ -8,7 +9,8 @@
|
||||
file: "{{ state_file_path }}"
|
||||
name: tenks_state
|
||||
|
||||
- hosts: libvirt
|
||||
- name: Instantiate libvirt VMs
|
||||
hosts: libvirt
|
||||
tags:
|
||||
- node-instantiation
|
||||
vars:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Load current Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- node-networking
|
||||
tasks:
|
||||
@ -8,7 +9,8 @@
|
||||
file: "{{ state_file_path }}"
|
||||
name: tenks_state
|
||||
|
||||
- hosts: hypervisors
|
||||
- name: Configure hypervisor networking
|
||||
hosts: hypervisors
|
||||
tags:
|
||||
- node-networking
|
||||
vars:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: localhost
|
||||
- name: Wait for resources
|
||||
hosts: localhost
|
||||
tags:
|
||||
- resource-wait
|
||||
tasks:
|
||||
|
@ -1,11 +1,12 @@
|
||||
---
|
||||
# Ensure we have facts about all hypervisors before scheduling begins.
|
||||
- hosts: hypervisors
|
||||
- name: Ensure we have facts about all hypervisors before scheduling begins.
|
||||
hosts: hypervisors
|
||||
tags:
|
||||
- schedule
|
||||
gather_facts: true
|
||||
|
||||
- hosts: localhost
|
||||
- name: Update Tenks state
|
||||
hosts: localhost
|
||||
tags:
|
||||
- schedule
|
||||
tasks:
|
||||
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
- hosts: all
|
||||
- name: Teardown Tenks resources
|
||||
hosts: all
|
||||
tags:
|
||||
- always
|
||||
tasks:
|
||||
|
Loading…
Reference in New Issue
Block a user