feat: improve transip key logic

This commit is contained in:
Simon Cornet 2025-12-14 15:45:42 +01:00
commit 7046c6b75a

View file

@ -21,13 +21,13 @@
# transip apikey # transip apikey
- name: "traefik - transip api" - name: "traefik - transip api"
ansible.builtin.file: ansible.builtin.copy:
content: "{{ transip_key | default('') }}"
dest: "/mnt/traefik/transip.key" dest: "/mnt/traefik/transip.key"
state: "touch"
owner: "root" owner: "root"
group: "root" group: "root"
mode: "0600" mode: "0600"
changed_when: false notify: "restart traefik"
# touch acme.json # touch acme.json
- name: "treafik - acme.json" - name: "treafik - acme.json"