More ansible-lint fixes
This commit is contained in:
@ -100,8 +100,8 @@ matrix_corporal_configuration_default: "{{ lookup('template', 'templates/config.
|
||||
# }
|
||||
matrix_corporal_configuration_extension_json: '{}'
|
||||
|
||||
matrix_corporal_configuration_extension: "{{ matrix_corporal_configuration_extension_json|from_json if matrix_corporal_configuration_extension_json|from_json is mapping else {} }}"
|
||||
matrix_corporal_configuration_extension: "{{ matrix_corporal_configuration_extension_json | from_json if matrix_corporal_configuration_extension_json | from_json is mapping else {} }}"
|
||||
|
||||
# Holds the final Corporal configuration (a combination of the default and its extension).
|
||||
# You most likely don't need to touch this variable. Instead, see `matrix_corporal_configuration_default`.
|
||||
matrix_corporal_configuration: "{{ matrix_corporal_configuration_default|combine(matrix_corporal_configuration_extension, recursive=True) }}"
|
||||
matrix_corporal_configuration: "{{ matrix_corporal_configuration_default | combine(matrix_corporal_configuration_extension, recursive=True) }}"
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
- name: Ensure Matrix Corporal config installed
|
||||
ansible.builtin.copy:
|
||||
content: "{{ matrix_corporal_configuration|to_nice_json }}"
|
||||
content: "{{ matrix_corporal_configuration | to_nice_json }}"
|
||||
dest: "{{ matrix_corporal_config_dir_path }}/config.json"
|
||||
mode: 0644
|
||||
owner: "{{ matrix_user_username }}"
|
||||
|
Reference in New Issue
Block a user