chore(hedgedoc): fix lints

This commit is contained in:
Sammy 2023-09-26 09:46:27 +02:00
parent 907a46ceff
commit dc80386858
No known key found for this signature in database
GPG key ID: C99355AC01BC7575
3 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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: []

View file

@ -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 }}"