mirror of
https://github.com/famedly/ansible-collection-matrix
synced 2024-12-04 16:49:17 +00:00
Make the ansible linter happy
remove trailing whitespaces
This commit is contained in:
parent
06d9b2ea49
commit
71c4f3b2a4
5 changed files with 8 additions and 7 deletions
|
@ -1,4 +1,5 @@
|
||||||
root = true
|
root = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.yml]
|
[*.yml]
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
loop:
|
loop:
|
||||||
- "{{ matrix_synapse_config.media_store_path }}"
|
- "{{ matrix_synapse_config.media_store_path }}"
|
||||||
- "{{ matrix_synapse_config.uploads_path }}"
|
- "{{ matrix_synapse_config.uploads_path }}"
|
||||||
- /opt/synapse/tls
|
- /opt/synapse/tls
|
||||||
|
|
||||||
- name: Deploy config
|
- name: Deploy config
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
fail:
|
fail:
|
||||||
msg: "Either both or neither of deployment and supervision method should be docker."
|
msg: "Either both or neither of deployment and supervision method should be docker."
|
||||||
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or (matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
|
when: (matrix_synapse_supervision_method == "docker" and matrix_synapse_deployment_method != "docker") or (matrix_synapse_deployment_method == "docker" and matrix_synapse_supervision_method != "docker")
|
||||||
|
|
||||||
- name: configure synapse
|
- name: configure synapse
|
||||||
import_tasks: configure.yml
|
import_tasks: configure.yml
|
||||||
|
|
||||||
|
|
|
@ -9,14 +9,14 @@
|
||||||
matrix_synapse_supervision_method: docker
|
matrix_synapse_supervision_method: docker
|
||||||
roles:
|
roles:
|
||||||
- role: geerlingguy.pip
|
- role: geerlingguy.pip
|
||||||
pip_install_packages:
|
pip_install_packages:
|
||||||
- name: docker
|
- name: docker
|
||||||
- role: geerlingguy.docker
|
- role: geerlingguy.docker
|
||||||
- role: geerlingguy.postgresql
|
- role: geerlingguy.postgresql
|
||||||
postgresql_databases:
|
postgresql_databases:
|
||||||
- name: "{{ dbname }}"
|
- name: "{{ dbname }}"
|
||||||
postgresql_users:
|
postgresql_users:
|
||||||
- name: "{{ dbuser }}"
|
- name: "{{ dbuser }}"
|
||||||
password: "{{ dbpw }}"
|
password: "{{ dbpw }}"
|
||||||
postgresql_global_config_options:
|
postgresql_global_config_options:
|
||||||
- option: listen_addresses
|
- option: listen_addresses
|
||||||
|
|
|
@ -9,9 +9,9 @@
|
||||||
- role: geerlingguy.pip
|
- role: geerlingguy.pip
|
||||||
- role: geerlingguy.postgresql
|
- role: geerlingguy.postgresql
|
||||||
postgresql_databases:
|
postgresql_databases:
|
||||||
- name: "{{ dbname }}"
|
- name: "{{ dbname }}"
|
||||||
postgresql_users:
|
postgresql_users:
|
||||||
- name: "{{ dbuser }}"
|
- name: "{{ dbuser }}"
|
||||||
password: "{{ dbpw }}"
|
password: "{{ dbpw }}"
|
||||||
postgresql_global_config_options:
|
postgresql_global_config_options:
|
||||||
- option: listen_address
|
- option: listen_address
|
||||||
|
|
Loading…
Reference in a new issue