From 4fed902a13c7d3a66fac3b13965502cbbc81e1f2 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Mon, 20 Jun 2022 14:00:09 +0200 Subject: [PATCH] Restructure Signed-off-by: Tobias Manske --- playbook.yaml | 6 +++--- backup.sh => templates/backup.sh.j2 | 0 docker-config.json => templates/docker-config.json.j2 | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename backup.sh => templates/backup.sh.j2 (100%) rename docker-config.json => templates/docker-config.json.j2 (100%) 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