---

- name: Fix crt directory permissions
  file:
    path: "{{ evoacme_crt_dir }}"
    mode: "0755"
    owner: root
    group: root
    state: directory

- name: "Fix hooks directory permissions"
  file:
    path: "{{ evoacme_hooks_dir }}"
    mode: "0700"
    owner: root
    group: root
    state: directory

- name: Fix log directory permissions
  file:
    path: "{{ evoacme_log_dir }}"
    mode: "0755"
    owner: root
    group: root
    state: directory

- name: Fix challenge directory permissions
  file:
    path: "{{ evoacme_acme_dir }}"
    mode: "0755"
    owner: root
    group: root
    state: directory
