mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-14 16:55:00 +01:00
cleanup
This commit is contained in:
parent
1dce09f4ea
commit
4aaf938d9b
3 changed files with 0 additions and 86 deletions
|
|
@ -15,49 +15,6 @@
|
|||
hour: "7"
|
||||
job: "/apps/backup.sh"
|
||||
#####
|
||||
# APP: prometheus, /apps/prometheus
|
||||
- name: Create /apps/prometheus
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Copy Prometheus config
|
||||
ansible.builtin.copy:
|
||||
dest: /apps/prometheus/prometheus.yml
|
||||
src: ../apps/prometheus/prometheus.yml
|
||||
mode: "u=r,g=r,o=r"
|
||||
owner: 1001
|
||||
- name: Create /apps/prometheus/data
|
||||
ansible.builtin.file:
|
||||
path: "/apps/prometheus/data"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o="
|
||||
owner: 1001
|
||||
#####
|
||||
#####
|
||||
# APP: docker registry, /apps/registry
|
||||
#####
|
||||
- name: Create /apps/registry
|
||||
ansible.builtin.file:
|
||||
path: "/apps/registry"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Create /apps/registry/data
|
||||
ansible.builtin.file:
|
||||
path: "/apps/registry/data"
|
||||
state: directory
|
||||
mode: "u=rwx,g=rx,o=rx"
|
||||
- name: Copy over registry config.yml
|
||||
ansible.builtin.copy:
|
||||
dest: /apps/registry/config.yml
|
||||
src: ../apps/registry/config.yml
|
||||
mode: "u=r,g=r,o=r"
|
||||
- name: Copy secrets user file
|
||||
ansible.builtin.copy:
|
||||
dest: "/apps/registry/htpasswd"
|
||||
src: "../secrets/registry/htpasswd"
|
||||
mode: "u=r,g=r,o=r"
|
||||
#####
|
||||
# APP: killua bot, /apps/killua
|
||||
#####
|
||||
- name: Create /apps/killua
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue