fix: remove deprecated include
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2022-09-04 14:29:58 +02:00
parent c34d313d7a
commit 4352030833
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 21 additions and 23 deletions

View File

@ -1,2 +1,22 @@
---
- include: setup.yml
- block:
- name: Install chrony
package:
name: chrony
state: present
- name: Deploy configuration file
template:
src: etc/chrony.conf.j2
dest: /etc/chrony.conf
mode: 0644
notify: __chrony_restart
- name: Ensure service is up and running
systemd:
name: chronyd.service
state: started
daemon_reload: True
enabled: True
become: True
become_user: root

View File

@ -1,22 +0,0 @@
---
- block:
- name: Install chrony
package:
name: chrony
state: present
- name: Deploy configuration file
template:
src: etc/chrony.conf.j2
dest: /etc/chrony.conf
mode: 0644
notify: __chrony_restart
- name: Ensure service is up and running
systemd:
name: chronyd.service
state: started
daemon_reload: True
enabled: True
become: True
become_user: root