roles/common: Fix issues raised by ansible-lint

[ANSIBLE0010] Package installs should not use latest
This commit is contained in:
Alan Orth 2017-12-29 20:11:55 +02:00
parent ac6b9c48af
commit 948058151a
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
---
- name: Install firewalld and deps
when: ansible_distribution_major_version | version_compare('8', '>=')
apt: pkg={{ item }} state=latest
apt: pkg={{ item }} state=present
with_items:
- firewalld
- tidy

View File

@ -1,7 +1,7 @@
---
- name: Install firewalld and deps
when: ansible_distribution_version | version_compare('15.04', '>=')
apt: pkg={{ item }} state=latest
apt: pkg={{ item }} state=present
with_items:
- firewalld
- tidy