From 262f672707e00fb2b172e151bc3a0358f12c7dd9 Mon Sep 17 00:00:00 2001 From: saibotk Date: Mon, 13 Jun 2022 02:32:24 +0200 Subject: [PATCH] ansible-lint: Fix some issues --- roles/matrix/defaults/main.yml | 4 ++-- roles/matrix_maubot/defaults/main.yml | 4 ++-- roles/sys_upgrade/tasks/Debian.yml | 2 +- roles/sys_upgrade/tasks/Fedora.yml | 2 +- roles/sys_upgrade/tasks/RedHat.yml | 2 +- roles/sys_upgrade/tasks/main.yml | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/roles/matrix/defaults/main.yml b/roles/matrix/defaults/main.yml index 52ac8ca..45b1621 100644 --- a/roles/matrix/defaults/main.yml +++ b/roles/matrix/defaults/main.yml @@ -23,8 +23,8 @@ matrix_install_location: /srv/matrix # The container data volume mount locations -matrix_data_location: "{{ matrix_install_location}}/data" -matrix_database_location: "{{ matrix_install_location}}/database" +matrix_data_location: "{{ matrix_install_location }}/data" +matrix_database_location: "{{ matrix_install_location }}/database" # The certresolver that is used by traefik for this domain matrix_traefik_certresolver: letsencrypt_http diff --git a/roles/matrix_maubot/defaults/main.yml b/roles/matrix_maubot/defaults/main.yml index 16ad961..e7b444e 100644 --- a/roles/matrix_maubot/defaults/main.yml +++ b/roles/matrix_maubot/defaults/main.yml @@ -22,8 +22,8 @@ matrix_maubot_install_location: /srv/matrix-maubot # The container data volume mount locations -matrix_maubot_data_location: "{{ matrix_maubot_install_location}}/data" -matrix_maubot_database_location: "{{ matrix_maubot_install_location}}/database" +matrix_maubot_data_location: "{{ matrix_maubot_install_location }}/data" +matrix_maubot_database_location: "{{ matrix_maubot_install_location }}/database" # The certresolver that is used by traefik for this domain matrix_maubot_traefik_certresolver: letsencrypt_http diff --git a/roles/sys_upgrade/tasks/Debian.yml b/roles/sys_upgrade/tasks/Debian.yml index 96211de..c7ac378 100644 --- a/roles/sys_upgrade/tasks/Debian.yml +++ b/roles/sys_upgrade/tasks/Debian.yml @@ -31,7 +31,7 @@ - name: Upgrade all packages ansible.builtin.apt: name: "*" - state: latest # noqa 403 + state: latest # noqa 403 update_cache: true tags: - apt diff --git a/roles/sys_upgrade/tasks/Fedora.yml b/roles/sys_upgrade/tasks/Fedora.yml index f81e92e..a033922 100644 --- a/roles/sys_upgrade/tasks/Fedora.yml +++ b/roles/sys_upgrade/tasks/Fedora.yml @@ -21,7 +21,7 @@ - name: Upgrade all packages ansible.builtin.dnf: name: "*" - state: latest # noqa 403 + state: latest # noqa 403 update_cache: true tags: - dnf diff --git a/roles/sys_upgrade/tasks/RedHat.yml b/roles/sys_upgrade/tasks/RedHat.yml index 6d5a730..e09f3f2 100644 --- a/roles/sys_upgrade/tasks/RedHat.yml +++ b/roles/sys_upgrade/tasks/RedHat.yml @@ -21,7 +21,7 @@ - name: Upgrade all packages (RedHat-common) ansible.builtin.yum: name: "*" - state: latest # noqa 403 + state: latest # noqa 403 update_cache: true tags: - yum diff --git a/roles/sys_upgrade/tasks/main.yml b/roles/sys_upgrade/tasks/main.yml index 2f5ec0c..b7e6f06 100644 --- a/roles/sys_upgrade/tasks/main.yml +++ b/roles/sys_upgrade/tasks/main.yml @@ -21,8 +21,8 @@ - name: "Select tasks for {{ ansible_distribution }} {{ ansible_distribution_major_version }}" ansible.builtin.include_tasks: "{{ distro_file }}" with_first_found: - - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml" - - "{{ ansible_distribution }}.yml" - - "{{ ansible_os_family }}.yml" + - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml" + - "{{ ansible_distribution }}.yml" + - "{{ ansible_os_family }}.yml" loop_control: loop_var: distro_file