mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-11-10 05:34:16 +00:00
chore(barad_dur): fix lints
This commit is contained in:
parent
d248f5947e
commit
da04b82985
8 changed files with 18 additions and 19 deletions
|
@ -49,7 +49,7 @@ deploying commonly used matrix services:
|
|||
able to run in the browser, maintained by element.
|
||||
- [`hedwig`](roles/hedwig/README.md): Hedwig, a push-gateway server alternative
|
||||
to `sygnal`, developed by Famedly.
|
||||
- [`barad-dur`](roles/barad-dur/README.md): Barad-dûr, a matrix phone-home stats collector alternative, developed by Famedly.
|
||||
- [`barad_dur`](roles/barad_dur/README.md): Barad-dûr, a matrix phone-home stats collector alternative, developed by Famedly.
|
||||
|
||||
### Unmaintained roles
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
|
||||
- name: restart-barad-dur
|
||||
docker_container:
|
||||
name: "{{ barad_dur_container_name }}"
|
||||
state: started
|
||||
restart: yes
|
8
roles/barad_dur/handlers/main.yml
Normal file
8
roles/barad_dur/handlers/main.yml
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
|
||||
- name: Restart barad-dur container
|
||||
community.docker.docker_container:
|
||||
name: "{{ barad_dur_container_name }}"
|
||||
state: started
|
||||
restart: true
|
||||
listen: restart-barad-dur
|
|
@ -6,8 +6,7 @@
|
|||
state: present
|
||||
system: true
|
||||
register: barad_dur_user_res
|
||||
tags: [ 'prepare', 'prepare-barad_dur',
|
||||
'deploy', 'deploy-barad_dur' ]
|
||||
tags: ['prepare', 'prepare-barad_dur', 'deploy', 'deploy-barad_dur']
|
||||
|
||||
- name: Create base-directory for barad-dur [{{ barad_dur_base_path }}]
|
||||
file:
|
||||
|
@ -29,7 +28,7 @@
|
|||
tags: ['deploy', 'deploy-barad_dur']
|
||||
|
||||
- name: Pull barad-dur container
|
||||
docker_image:
|
||||
community.docker.docker_image:
|
||||
name: "{{ barad_dur_container_image_reference }}"
|
||||
source: pull
|
||||
state: present
|
||||
|
@ -41,7 +40,7 @@
|
|||
tags: ['prepare', 'prepare-barad_dur']
|
||||
|
||||
- name: Start barad-dur container
|
||||
docker_container:
|
||||
community.docker.docker_container:
|
||||
name: "{{ barad_dur_container_name }}"
|
||||
image: "{{ barad_dur_container_image_reference }}"
|
||||
env: "{{ barad_dur_container_env }}"
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
barad_dur_container_base_volumes:
|
||||
- "{{ barad_dur_config_file }}:{{ barad_dur_container_base_path }}/config.yaml:ro"
|
||||
|
Loading…
Reference in a new issue