Update to 2021-12-07 20:00

This commit is contained in:
Daniel Berteaud 2021-12-07 20:00:26 +01:00
parent a5a66d6a07
commit 4b483a5876
3 changed files with 6 additions and 2 deletions

View File

@ -59,5 +59,5 @@
priority: 50
includepkgs:
- zabbix*
state: "{{ (zabbix_major_version is version('5.0', '>=') and ansible_distribution_major_version is version('8', '<')) | ternary('present', 'absent') }}"
state: "{{ (zabbix_major_version is version('5.0', '>=') and zabbix_major_version is version('5.4', '<') and ansible_distribution_major_version is version('8', '<')) | ternary('present', 'absent') }}"
tags: repo

View File

@ -1,6 +1,10 @@
---
- name: Setup default sudo access
template: src=fws.j2 dest=/etc/sudoers.d/fws owner=root group=root mode=440 validate='visudo -cf %s'
template: src=admins.j2 dest=/etc/sudoers.d/admins owner=root group=root mode=440 #validate='visudo -cf %s'
tags: sudo
- name: Remove old sudo file
file: path=/etc/sudoers.d/fws state=absent
tags: sudo
- name: Ensure sudo provider is only files in nss