mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2026-03-13 05:42:46 +01:00
build
This commit is contained in:
@@ -17,6 +17,15 @@
|
||||
- name: Set proxy name
|
||||
set_fact:
|
||||
clustename: "debian13"
|
||||
- name: Allow user to start/stop zabbix-proxy with sudo without password
|
||||
ansible.builtin.copy:
|
||||
dest: "/etc/sudoers.d/{{ zabbix_user }}-zabbix-proxy"
|
||||
content: "{{ zabbix_user }} ALL=(ALL) NOPASSWD: /bin/systemctl start zabbix-proxy, /bin/systemctl stop zabbix-proxy"
|
||||
owner: root
|
||||
group: root
|
||||
mode: '0440'
|
||||
|
||||
|
||||
|
||||
- name: Show default IP
|
||||
ansible.builtin.debug:
|
||||
|
||||
Reference in New Issue
Block a user