mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-04 12:23:13 +02:00
Update to 2021-12-07 20:00
This commit is contained in:
parent
a5a66d6a07
commit
4b483a5876
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user