fix(gotosocial): complete role
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
|
||||
- name: Ensure configuration is up to date
|
||||
copy:
|
||||
content: "{{ gotosocial_config | to_nice_yaml(indent=2, max_with=10000) }}"
|
||||
content: "{{ gotosocial_config | to_nice_yaml(indent=2, width=10000) }}"
|
||||
dest: "{{ gotosocial_config_file }}"
|
||||
owner: "{{ gotosocial_user_info.uid | default(gotosocial_user) }}"
|
||||
group: "{{ gotosocial_user_info.group | default(gotosocial_user) }}"
|
||||
@ -36,7 +36,7 @@
|
||||
|
||||
- name: Ensure container image is available
|
||||
docker_image:
|
||||
image: "{{ gotosocial_container_image }}"
|
||||
name: "{{ gotosocial_container_image }}"
|
||||
state: present
|
||||
source: pull
|
||||
force_source: >-
|
||||
@ -54,9 +54,10 @@
|
||||
volumes: "{{ gotosocial_container_volumes }}"
|
||||
env: "{{ gotosocial_container_env | default(omit, True) }}"
|
||||
ports: "{{ gotosocial_container_ports | default(omit, True) }}"
|
||||
labels: "{{ gotosocial_container_labels | default(omit, True }}"
|
||||
labels: "{{ gotosocial_container_labels | default(omit, True) }}"
|
||||
networks: "{{ gotosocial_container_networks | default(omit, True) }}"
|
||||
etc_hosts: "{{ gotosocial_container_etc_hosts | default(omit, True) }}"
|
||||
purge_networks: "{{ gotosocial_container_purge_networks | default(False, True) }}"
|
||||
restart_policy: "{{ gotosocial_container_restart_policy }}"
|
||||
entrypoint: "{{ gotosocial_container_entrypoint }}"
|
||||
state: started
|
||||
|
Reference in New Issue
Block a user