feat: Base rainbowsheep-cloud ansible playbooks and roles
This commit is contained in:
commit
494e748beb
12 changed files with 345 additions and 0 deletions
22
roles/chrony/tasks/main.yml
Normal file
22
roles/chrony/tasks/main.yml
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
---
|
||||
# tasks file for chrony_client
|
||||
- name: Install chrony
|
||||
ansible.builtin.apt:
|
||||
name: chrony
|
||||
state: present
|
||||
update_cache: yes
|
||||
|
||||
# - name: Configure chrony client
|
||||
# ansible.builtin.template:
|
||||
# src: chrony.conf.j2
|
||||
# dest: /etc/chrony/chrony.conf
|
||||
# owner: root
|
||||
# group: root
|
||||
# mode: "0644"
|
||||
# notify: Restart chrony
|
||||
|
||||
- name: Enable and start chrony
|
||||
ansible.builtin.service:
|
||||
name: chrony
|
||||
state: started
|
||||
enabled: yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue