Fix some ansible-lint-reported errors

This commit is contained in:
Slavi Pantaleev 2022-11-02 07:00:45 +02:00
parent e531b7aefd
commit 8a609e5cf2
4 changed files with 7 additions and 7 deletions

View File

@ -22,7 +22,7 @@
- name: Save current git-repo status on the target to aid with restoring in case of problems
when: "matrix_playbook_commit_hash_preservation_enabled|bool"
block:
- name: Get local git hash # noqa command-instead-of-module
- name: Get local git hash # noqa command-instead-of-module
delegate_to: 127.0.0.1
become: false
register: git_describe

View File

@ -129,8 +129,8 @@ matrix_hookshot_generic_user_id_prefix: '_webhooks_'
matrix_hookshot_feeds_enabled: true
matrix_hookshot_feeds_pollIntervalSeconds: 600
matrix_hookshot_feeds_pollTimeoutSeconds: 10
matrix_hookshot_feeds_pollIntervalSeconds: 600 # no-qa var-naming
matrix_hookshot_feeds_pollTimeoutSeconds: 10 # no-qa var-naming
# There is no need to edit ports. use matrix_hookshot_container_http_host_bind_ports below to expose ports instead.

View File

@ -51,8 +51,8 @@
daemon_reload: true
register: matrix_postgres_import_start_result
- when: matrix_postgres_import_start_result.changed | bool
name: Wait a bit, so that Postgres can start
- name: Wait a bit, so that Postgres can start
when: matrix_postgres_import_start_result.changed | bool
ansible.builtin.wait_for:
timeout: "{{ postgres_start_wait_time }}"
delegate_to: 127.0.0.1

View File

@ -30,8 +30,8 @@
daemon_reload: true
register: matrix_postgres_vacuum_start_result
- when: matrix_postgres_vacuum_start_result.changed | bool
name: Wait a bit, so that Postgres can start
- name: Wait a bit, so that Postgres can start
when: matrix_postgres_vacuum_start_result.changed | bool
ansible.builtin.wait_for:
timeout: "{{ postgres_start_wait_time }}"
delegate_to: 127.0.0.1