Use module_defaults on web1
This commit is contained in:
parent
7817ed5e44
commit
7fee7bdcf1
@ -9,6 +9,11 @@
|
|||||||
- vars/desultd-apache.yml
|
- vars/desultd-apache.yml
|
||||||
- vars/desultd-certbot.yml
|
- vars/desultd-certbot.yml
|
||||||
- vars/desultd-nextcloud.yml
|
- vars/desultd-nextcloud.yml
|
||||||
|
module_defaults:
|
||||||
|
docker_container:
|
||||||
|
state: started
|
||||||
|
restart_policy: unless-stopped
|
||||||
|
pull: yes
|
||||||
tasks:
|
tasks:
|
||||||
- name: configure nextcloud cronjob
|
- name: configure nextcloud cronjob
|
||||||
cron: user=www-data name=nextcloud minute=*/5 job="php -f /var/www/nc.desu.ltd/cron.php"
|
cron: user=www-data name=nextcloud minute=*/5 job="php -f /var/www/nc.desu.ltd/cron.php"
|
||||||
@ -16,10 +21,7 @@
|
|||||||
- name: docker deploy 9iron
|
- name: docker deploy 9iron
|
||||||
docker_container:
|
docker_container:
|
||||||
name: 9iron
|
name: 9iron
|
||||||
state: started
|
|
||||||
image: rehashedsalt/9iron:latest
|
image: rehashedsalt/9iron:latest
|
||||||
restart_policy: unless-stopped
|
|
||||||
pull: yes
|
|
||||||
ports:
|
ports:
|
||||||
- 8001:80
|
- 8001:80
|
||||||
volumes:
|
volumes:
|
||||||
@ -28,10 +30,7 @@
|
|||||||
- name: docker deploy desultd
|
- name: docker deploy desultd
|
||||||
docker_container:
|
docker_container:
|
||||||
name: desultd
|
name: desultd
|
||||||
state: started
|
|
||||||
image: rehashedsalt/desultd:latest
|
image: rehashedsalt/desultd:latest
|
||||||
restart_policy: unless-stopped
|
|
||||||
pull: yes
|
|
||||||
ports:
|
ports:
|
||||||
- 8002:80
|
- 8002:80
|
||||||
volumes:
|
volumes:
|
||||||
@ -40,10 +39,7 @@
|
|||||||
- name: docker deploy gitea
|
- name: docker deploy gitea
|
||||||
docker_container:
|
docker_container:
|
||||||
name: gitea
|
name: gitea
|
||||||
state: started
|
|
||||||
image: gitea/gitea:1
|
image: gitea/gitea:1
|
||||||
restart_policy: unless-stopped
|
|
||||||
pull: yes
|
|
||||||
env:
|
env:
|
||||||
USER_UID: "1002"
|
USER_UID: "1002"
|
||||||
USER_GID: "1002"
|
USER_GID: "1002"
|
||||||
@ -64,10 +60,7 @@
|
|||||||
- name: docker deploy gulagbot
|
- name: docker deploy gulagbot
|
||||||
docker_container:
|
docker_container:
|
||||||
name: gulagbot
|
name: gulagbot
|
||||||
state: started
|
|
||||||
image: rehashedsalt/gulagbot:latest
|
image: rehashedsalt/gulagbot:latest
|
||||||
restart_policy: unless-stopped
|
|
||||||
pull: yes
|
|
||||||
env:
|
env:
|
||||||
DISCORD_TOKEN: "{{ secret_gulagbot_discord_token }}"
|
DISCORD_TOKEN: "{{ secret_gulagbot_discord_token }}"
|
||||||
PGHOST: 192.168.164.156
|
PGHOST: 192.168.164.156
|
||||||
|
Loading…
Reference in New Issue
Block a user