diff --git a/playbook.yaml b/playbook.yaml index e78e0cc..ddee4dd 100644 --- a/playbook.yaml +++ b/playbook.yaml @@ -103,7 +103,7 @@ - name: Install backup script become: true ansible.builtin.template: - src: backup.sh + src: backup.sh.j2 dest: /root/backup.sh mode: '0750' owner: root @@ -116,8 +116,8 @@ owner: core state: directory mode: '0700' - - ansible.builtin.copy: - src: docker-config.json + - ansible.builtin.template: + src: docker-config.json.j2 dest: /home/core/.docker/config.json mode: '0600' owner: core diff --git a/backup.sh b/templates/backup.sh.j2 similarity index 100% rename from backup.sh rename to templates/backup.sh.j2 diff --git a/docker-config.json b/templates/docker-config.json.j2 similarity index 100% rename from docker-config.json rename to templates/docker-config.json.j2