Update ansible-lint to 3.4.1
This patch updates all playbooks to ensure compliance with ansible-lint 3.4.1 and also implements updates to the distro/pip package install tasks to ensure that they use the appropriate variables designed for setting state. Additionally the utility playbook is set to use upper constraints when installing packages. Change-Id: I534388930317daf370cf6c943d62d1e50184ead9
This commit is contained in:
committed by
Jesse Pretorius (odyssey4me)
parent
39a10ef644
commit
b70a0276f4
@@ -85,7 +85,7 @@
|
||||
tags:
|
||||
- always
|
||||
- name: Add net/tun device to the compute
|
||||
shell: |
|
||||
command: |
|
||||
lxc-device -n {{ container_name }} add /dev/net/tun /dev/net/tun
|
||||
delegate_to: "{{ physical_host }}"
|
||||
when:
|
||||
@@ -104,7 +104,7 @@
|
||||
tags:
|
||||
- always
|
||||
- name: Add kvm device to the compute
|
||||
shell: |
|
||||
command: |
|
||||
lxc-device -n {{ container_name }} add /dev/kvm /dev/kvm
|
||||
delegate_to: "{{ physical_host }}"
|
||||
register: device_add
|
||||
|
||||
Reference in New Issue
Block a user