From 1757e03e3c702776c75648d18de0e80accc338e5 Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Tue, 17 Sep 2024 13:52:47 +0100 Subject: [PATCH] colon added to noqa --- molecule/bookworm_cli/converge.yml | 2 +- molecule/bookworm_fpm/converge.yml | 2 +- molecule/bookworm_fpm/verify.yml | 2 +- molecule/default/converge.yml | 2 +- molecule/default/verify.yml | 2 +- tasks/pkg.yml | 8 ++++---- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/molecule/bookworm_cli/converge.yml b/molecule/bookworm_cli/converge.yml index 6905e60..5279618 100644 --- a/molecule/bookworm_cli/converge.yml +++ b/molecule/bookworm_cli/converge.yml @@ -33,7 +33,7 @@ - name: Include php role as root ansible.builtin.include_role: name: php - vars: # noqa var-naming[no-role-prefix] + vars: # noqa: var-naming[no-role-prefix] php: true php_config: - name: PHP 8.2 configuration diff --git a/molecule/bookworm_fpm/converge.yml b/molecule/bookworm_fpm/converge.yml index d7135fe..b76bc3f 100644 --- a/molecule/bookworm_fpm/converge.yml +++ b/molecule/bookworm_fpm/converge.yml @@ -33,7 +33,7 @@ - name: Include php role as root ansible.builtin.include_role: name: php - vars: # noqa var-naming[no-role-prefix] + vars: # noqa: var-naming[no-role-prefix] php: true php_sury: false php_fpm_pool_check_fail: true diff --git a/molecule/bookworm_fpm/verify.yml b/molecule/bookworm_fpm/verify.yml index 491b6bb..0ebffbd 100644 --- a/molecule/bookworm_fpm/verify.yml +++ b/molecule/bookworm_fpm/verify.yml @@ -241,7 +241,7 @@ ansible.builtin.include_role: name: php tasks_from: checks.yml - vars: # noqa var-naming[no-role-prefix] + vars: # noqa: var-naming[no-role-prefix] php_fpm_pool_check_fail: true - name: Check that PHP-FPM is running diff --git a/molecule/default/converge.yml b/molecule/default/converge.yml index a8c3a7c..efd3416 100644 --- a/molecule/default/converge.yml +++ b/molecule/default/converge.yml @@ -33,7 +33,7 @@ - name: Include php role as root ansible.builtin.include_role: name: php - vars: # noqa var-naming[no-role-prefix] + vars: # noqa: var-naming[no-role-prefix] php: true php_fpm_pool_check_fail: false ... diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index e75988c..f377823 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -730,7 +730,7 @@ ansible.builtin.include_role: name: php tasks_from: checks.yml - vars: # noqa var-naming[no-role-prefix] + vars: # noqa: var-naming[no-role-prefix] php_fpm_pool_check_fail: true - name: Check the runing services diff --git a/tasks/pkg.yml b/tasks/pkg.yml index 019e04d..c5e6caf 100644 --- a/tasks/pkg.yml +++ b/tasks/pkg.yml @@ -94,7 +94,7 @@ register: php_packages_removed_first_run when: php_pkg_rm != [] - - name: Debug PHP packages absent result # noqa no-handler + - name: Debug PHP packages absent result # noqa: no-handler ansible.builtin.debug: var: php_packages_removed_first_run.stdout_lines verbosity: "{% if ansible_check_mode | bool and php_pkg_present != [] %}1{% elif php_pkg_present != [] %}2{% else %}3{% endif %}" @@ -112,7 +112,7 @@ register: php_packages_installed when: php_pkg_install != [] - - name: Debug PHP packages present result # noqa no-handler + - name: Debug PHP packages present result # noqa: no-handler ansible.builtin.debug: var: php_packages_installed.stdout_lines verbosity: "{% if ansible_check_mode | bool and php_pkg_present != [] %}1{% elif php_pkg_present != [] %}2{% else %}3{% endif %}" @@ -128,7 +128,7 @@ register: php_packages_removed_second_run when: php_pkg_absent != [] - - name: Debug PHP packages absent result # noqa no-handler + - name: Debug PHP packages absent result # noqa: no-handler ansible.builtin.debug: var: php_packages_removed_second_run.stdout_lines verbosity: "{% if ansible_check_mode | bool and php_pkg_present != [] %}1{% elif php_pkg_present != [] %}2{% else %}3{% endif %}" @@ -153,7 +153,7 @@ tags: - molecule-idempotence-notest - - name: Debug dist upgrade result # noqa no-handler + - name: Debug dist upgrade result # noqa: no-handler ansible.builtin.debug: var: php_dist_upgrade.stdout_lines verbosity: "{% if ansible_check_mode | bool and php_pkg_present != [] %}1{% elif php_pkg_present != [] %}2{% else %}3{% endif %}" -- GitLab