roles/common: Fix issues raised by ansible-lint
[ANSIBLE0010] Package installs should not use latest
This commit is contained in:
parent
ac6b9c48af
commit
948058151a
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user