CallePuzzle / ansible-playbook-install-archlinux

GNU General Public License v3.0
0 stars 0 forks source link

NTP chrony #5

Closed jilgue closed 1 year ago

jilgue commented 1 year ago

https://wiki.archlinux.org/title/Chrony

jilgue commented 1 year ago
---
- name: Installation base
  hosts: all
  tasks:

    - name: Install chrony
      package:
        name: chrony

    - name: Configure chrony
      copy:
        src: ../files/chrony.conf
        dest: "/etc/chrony.conf"

    - name: Start and enable chrony
      service:
        name: chronyd
        state: started
        enabled: true

    - name: Install tlp
      package:
        name: tlp

    - name: Start and enable tlp
      service:
        name: tlp
        state: started
        enabled: true
# https://wiki.archlinux.org/index.php/Bumblebee