From c5a577557e3fd8bf98463e448599f5b0ed7d5364 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:54:21 +0100 Subject: [PATCH] fix uptime --- playbooks/vps1.yml | 13 ------------- playbooks/vps2.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/playbooks/vps1.yml b/playbooks/vps1.yml index 0f4820e..746da72 100644 --- a/playbooks/vps1.yml +++ b/playbooks/vps1.yml @@ -4,19 +4,6 @@ gather_facts: false tasks: ##### - # APP: uptime, /apps/uptime - ##### - - name: Create /apps/uptime - ansible.builtin.file: - path: /apps/uptime - state: directory - mode: "u=rwx,g=rx,o=rx" - - name: Copy uptime.json - ansible.builtin.copy: - dest: /apps/uptime/uptime.json - src: ../apps/uptime/uptime.json - mode: "u=r,g=r,o=r" - ##### # END: docker compose up! ##### # We want this to be last so that all app-specific config has been done. diff --git a/playbooks/vps2.yml b/playbooks/vps2.yml index 2a0476d..ca65349 100644 --- a/playbooks/vps2.yml +++ b/playbooks/vps2.yml @@ -136,6 +136,19 @@ state: directory mode: "u=rwx,g=rwx,o=rwx" ##### + # APP: uptime, /apps/uptime + ##### + - name: Create /apps/uptime + ansible.builtin.file: + path: /apps/uptime + state: directory + mode: "u=rwx,g=rx,o=rx" + - name: Copy uptime.json + ansible.builtin.copy: + dest: /apps/uptime/uptime.json + src: ../apps/uptime/uptime.json + mode: "u=r,g=r,o=r" + ##### # END: docker compose up! ##### # We want this to be last so that all app-specific config has been done.