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:
Logan V
2016-10-28 13:47:30 +02:00
committed by Jesse Pretorius (odyssey4me)
parent 39a10ef644
commit b70a0276f4
12 changed files with 30 additions and 26 deletions

View File

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