feat(pixelfed): add ansible role

This commit is contained in:
2022-02-03 20:11:09 +01:00
parent 1f2f89ff03
commit d6c384b965
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