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:
|
||||
name: "{{ hedgedoc_container_name }}"
|
||||
state: "started"
|
||||
restart: yes
|
||||
restart: true
|
||||
listen: "restart-hedgedoc"
|
||||
|
|
|
@ -5,7 +5,7 @@ galaxy_info:
|
|||
|
||||
license: AGPL-3.0-only
|
||||
|
||||
min_ansible_version: 2.10
|
||||
min_ansible_version: "2.10"
|
||||
|
||||
galaxy_tags: []
|
||||
|
||||
|
|
|
@ -4,14 +4,14 @@
|
|||
user:
|
||||
name: "{{ hedgedoc_user }}"
|
||||
state: present
|
||||
system: yes
|
||||
system: true
|
||||
register: hedgedoc_user_res
|
||||
|
||||
- name: Ensure directories are created
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: directory
|
||||
mode: 0755
|
||||
mode: "0755"
|
||||
owner: "{{ hedgedoc_user_res.uid }}"
|
||||
group: "{{ hedgedoc_user_res.group }}"
|
||||
loop:
|
||||
|
@ -23,7 +23,7 @@
|
|||
copy:
|
||||
content: "{{ hedgedoc_config_merged | to_nice_json }}"
|
||||
dest: "{{ hedgedoc_config_path }}"
|
||||
mode: 0600
|
||||
mode: "0600"
|
||||
owner: "{{ hedgedoc_user_res.uid }}"
|
||||
group: "{{ hedgedoc_user_res.group }}"
|
||||
notify: "restart-hedgedoc"
|
||||
|
@ -33,7 +33,7 @@
|
|||
image: "{{ hedgedoc_container_image_ref }}"
|
||||
name: "{{ hedgedoc_container_name }}"
|
||||
state: started
|
||||
pull: yes
|
||||
pull: true
|
||||
restart_policy: unless-stopped
|
||||
user: "{{ hedgedoc_user_res.uid }}:{{ hedgedoc_user_res.group }}"
|
||||
volumes: "{{ hedgedoc_container_volumes_merged }}"
|
||||
|
|
Loading…
Reference in a new issue