Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around `block` statements.
This commit is contained in:
		| @@ -11,13 +11,15 @@ | ||||
| - ansible.builtin.set_fact: | ||||
|     matrix_go_skype_bridge_requires_restart: false | ||||
|  | ||||
| - block: | ||||
| - when: "matrix_go_skype_bridge_database_engine == 'postgres'" | ||||
|   block: | ||||
|     - name: Check if an SQLite database already exists | ||||
|       ansible.builtin.stat: | ||||
|         path: "{{ matrix_go_skype_bridge_sqlite_database_path_local }}" | ||||
|       register: matrix_go_skype_bridge_sqlite_database_path_local_stat_result | ||||
|  | ||||
|     - block: | ||||
|     - when: "matrix_go_skype_bridge_sqlite_database_path_local_stat_result.stat.exists | bool" | ||||
|       block: | ||||
|         - ansible.builtin.set_fact: | ||||
|             matrix_postgres_db_migration_request: | ||||
|               src: "{{ matrix_go_skype_bridge_sqlite_database_path_local }}" | ||||
| @@ -34,9 +36,6 @@ | ||||
|  | ||||
|         - ansible.builtin.set_fact: | ||||
|             matrix_go_skype_bridge_requires_restart: true | ||||
|       when: "matrix_go_skype_bridge_sqlite_database_path_local_stat_result.stat.exists | bool" | ||||
|   when: "matrix_go_skype_bridge_database_engine == 'postgres'" | ||||
|  | ||||
|  | ||||
| - name: Ensure Go Skype Bridge paths exists | ||||
|   ansible.builtin.file: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user