Commit 613bced1 authored by Simon Cornet's avatar Simon Cornet
Browse files

feat: add alpine support for alpine

parent 8187fdb3
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@
    # apk
    - name: "apk"
      ansible.builtin.import_tasks: "tasks/apk/packages.yaml"
      when: "ansible_os_family == 'Alpine'"
      when: 'ansible_os_family == "Alpine"'
      tags: "apk"

    # apt
+1 −1
Original line number Diff line number Diff line
@@ -21,5 +21,5 @@
    owner: "root"
    group: "root"
    mode: "0600"
  when: "ansible_os_family == 'Alpine'"
  when: 'ansible_os_family == "Alpine"'
  tags: "cron"
+8 −1
Original line number Diff line number Diff line
@@ -4,6 +4,14 @@
  tags: "ntp"
  block:

    # install alpine
    - name: "ntp - install - chrony alpine"
      community.general.apk:
        name: "chrony"
        state: "present"
        update_cache: true
      when: 'ansible_os_family == "Alpine"'

    # install chrony
    - name: "ntp - install - chrony debian"
      ansible.builtin.apt:
@@ -19,5 +27,4 @@
        owner: "root"
        group: "root"
        mode: "0644"
      when: 'ansible_os_family == "Debian"'
      notify: "restart chrony"