Просмотр исходного кода

Fix some ansible-lint-reported errors

pull/2226/head
Slavi Pantaleev 3 лет назад
Родитель
Сommit
8a609e5cf2
4 измененных файлов: 7 добавлений и 7 удалений
  1. +1
    -1
      roles/matrix-base/tasks/setup_matrix_base.yml
  2. +2
    -2
      roles/matrix-bridge-hookshot/defaults/main.yml
  3. +2
    -2
      roles/matrix-postgres/tasks/import_postgres.yml
  4. +2
    -2
      roles/matrix-postgres/tasks/run_vacuum.yml

+ 1
- 1
roles/matrix-base/tasks/setup_matrix_base.yml Просмотреть файл

@@ -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


+ 2
- 2
roles/matrix-bridge-hookshot/defaults/main.yml Просмотреть файл

@@ -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.


+ 2
- 2
roles/matrix-postgres/tasks/import_postgres.yml Просмотреть файл

@@ -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


+ 2
- 2
roles/matrix-postgres/tasks/run_vacuum.yml Просмотреть файл

@@ -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


Загрузка…
Отмена
Сохранить