feat(pixelfed): add ansible role

This commit is contained in:
2022-02-03 20:11:09 +01:00
parent 998d2a5f5e
commit 7c4169c424
8 changed files with 545 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Restart pixelfed (docker)
docker_container:
name: "{{ pixelfed_container_name }}"
state: started
restart: yes
when: 'docker' in pixelfed_deployment_method
listen: restart-pixelfed
- name: Restart pixelfed worker (docker)
docker_container:
name: "{{ pixelfed_worker_container_name }}"
state: started
restart: yes
when: 'docker' in pixelfed_deployment_method
listen: restart-pixelfed