mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 08:45:02 +01:00
fix uptime
This commit is contained in:
parent
4a46001c21
commit
c5a577557e
2 changed files with 13 additions and 13 deletions
|
|
@ -4,19 +4,6 @@
|
||||||
gather_facts: false
|
gather_facts: false
|
||||||
tasks:
|
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!
|
# END: docker compose up!
|
||||||
#####
|
#####
|
||||||
# We want this to be last so that all app-specific config has been done.
|
# We want this to be last so that all app-specific config has been done.
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,19 @@
|
||||||
state: directory
|
state: directory
|
||||||
mode: "u=rwx,g=rwx,o=rwx"
|
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!
|
# END: docker compose up!
|
||||||
#####
|
#####
|
||||||
# We want this to be last so that all app-specific config has been done.
|
# We want this to be last so that all app-specific config has been done.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue