mirror of
https://github.com/famedly/ansible-collection-services
synced 2024-11-10 05:54:14 +00:00
chore(hedgedoc): fix lints
This commit is contained in:
parent
907a46ceff
commit
dc80386858
3 changed files with 6 additions and 6 deletions
|
@ -4,5 +4,5 @@
|
||||||
docker_container:
|
docker_container:
|
||||||
name: "{{ hedgedoc_container_name }}"
|
name: "{{ hedgedoc_container_name }}"
|
||||||
state: "started"
|
state: "started"
|
||||||
restart: yes
|
restart: true
|
||||||
listen: "restart-hedgedoc"
|
listen: "restart-hedgedoc"
|
||||||
|
|
|
@ -5,7 +5,7 @@ galaxy_info:
|
||||||
|
|
||||||
license: AGPL-3.0-only
|
license: AGPL-3.0-only
|
||||||
|
|
||||||
min_ansible_version: 2.10
|
min_ansible_version: "2.10"
|
||||||
|
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
user:
|
user:
|
||||||
name: "{{ hedgedoc_user }}"
|
name: "{{ hedgedoc_user }}"
|
||||||
state: present
|
state: present
|
||||||
system: yes
|
system: true
|
||||||
register: hedgedoc_user_res
|
register: hedgedoc_user_res
|
||||||
|
|
||||||
- name: Ensure directories are created
|
- name: Ensure directories are created
|
||||||
file:
|
file:
|
||||||
path: "{{ item }}"
|
path: "{{ item }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: 0755
|
mode: "0755"
|
||||||
owner: "{{ hedgedoc_user_res.uid }}"
|
owner: "{{ hedgedoc_user_res.uid }}"
|
||||||
group: "{{ hedgedoc_user_res.group }}"
|
group: "{{ hedgedoc_user_res.group }}"
|
||||||
loop:
|
loop:
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
copy:
|
copy:
|
||||||
content: "{{ hedgedoc_config_merged | to_nice_json }}"
|
content: "{{ hedgedoc_config_merged | to_nice_json }}"
|
||||||
dest: "{{ hedgedoc_config_path }}"
|
dest: "{{ hedgedoc_config_path }}"
|
||||||
mode: 0600
|
mode: "0600"
|
||||||
owner: "{{ hedgedoc_user_res.uid }}"
|
owner: "{{ hedgedoc_user_res.uid }}"
|
||||||
group: "{{ hedgedoc_user_res.group }}"
|
group: "{{ hedgedoc_user_res.group }}"
|
||||||
notify: "restart-hedgedoc"
|
notify: "restart-hedgedoc"
|
||||||
|
@ -33,7 +33,7 @@
|
||||||
image: "{{ hedgedoc_container_image_ref }}"
|
image: "{{ hedgedoc_container_image_ref }}"
|
||||||
name: "{{ hedgedoc_container_name }}"
|
name: "{{ hedgedoc_container_name }}"
|
||||||
state: started
|
state: started
|
||||||
pull: yes
|
pull: true
|
||||||
restart_policy: unless-stopped
|
restart_policy: unless-stopped
|
||||||
user: "{{ hedgedoc_user_res.uid }}:{{ hedgedoc_user_res.group }}"
|
user: "{{ hedgedoc_user_res.uid }}:{{ hedgedoc_user_res.group }}"
|
||||||
volumes: "{{ hedgedoc_container_volumes_merged }}"
|
volumes: "{{ hedgedoc_container_volumes_merged }}"
|
||||||
|
|
Loading…
Reference in a new issue