Employ defaults on web2

This commit is contained in:
Salt 2021-06-07 00:45:52 -05:00
parent bb349c634f
commit d97e81f9f2

View File

@ -136,6 +136,11 @@
- role: certbot
tags: [ web, certbot ]
- hosts: web2.desu.ltd
module_defaults:
docker_container:
state: started
restart_policy: unless-stopped
pull: yes
tasks:
- name: ensure docker network
docker_network: name=web
@ -162,10 +167,7 @@
- name: docker deploy nginx proxy
docker_container:
name: ingress
state: started
image: jonasal/nginx-certbot:2.2.0
restart_policy: unless-stopped
pull: yes
env:
TZ: "America/Chicago"
CERTBOT_EMAIL: rehashedsalt@cock.li
@ -182,10 +184,7 @@
- name: docker deploy pleroma
docker_container:
name: pleroma
state: started
image: jordemort/pleroma
restart_policy: unless-stopped
pull: yes
env:
TZ: "America/Chicago"
POSTGRES_HOST: 192.168.164.156