8343-New-machine-id #48

Merged
xavi merged 40 commits from 8343-New-machine-id into main 2025-01-10 13:29:15 +00:00
6 changed files with 18 additions and 15 deletions
Showing only changes of commit 9df86be7a4 - Show all commits

View File

@ -1,2 +1,2 @@
variable1: false
variable2_checked: false

View File

@ -1,6 +1,5 @@
- name: restart service
- name: restart-chrony
systemd:
name: service
name: chrony
state: restarted
- name: update example_command configuration
command: /usr/sbin/example_command

View File

@ -1,4 +1,2 @@
- import_tasks: timeserver.yml
tags: timeserver

View File

@ -1,2 +1,15 @@
- name: Install NRPE packages
apt:
name: chrony
state: present
install_recommends: no
- name: Set NRPE generic configuration
template:
src: timeserver_custom.conf
dest: /etc/chrony/conf.d/custom.conf
owner: root
group: root
mode: u=rw,g=r,o=r
notify: restart-chrony

View File

@ -1,7 +0,0 @@
domain {{ host_domain }}
search {{ host_domain }}
{% if resolvers is defined %}
{% for resolver in resolvers %}
nameserver {{resolver}}
{% endfor %}
{% endif %}