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
|
- name: Install firewalld and deps
|
||||||
when: ansible_distribution_major_version | version_compare('8', '>=')
|
when: ansible_distribution_major_version | version_compare('8', '>=')
|
||||||
apt: pkg={{ item }} state=latest
|
apt: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- firewalld
|
- firewalld
|
||||||
- tidy
|
- tidy
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Install firewalld and deps
|
- name: Install firewalld and deps
|
||||||
when: ansible_distribution_version | version_compare('15.04', '>=')
|
when: ansible_distribution_version | version_compare('15.04', '>=')
|
||||||
apt: pkg={{ item }} state=latest
|
apt: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
- firewalld
|
- firewalld
|
||||||
- tidy
|
- tidy
|
||||||
|
Loading…
Reference in New Issue
Block a user