diff --git a/molecule/bookworm_cli/converge.yml b/molecule/bookworm_cli/converge.yml
index 6905e60af8ce1c221be19f187e766ab34ffe0bc9..527961803737e62590cbebd08c8e4e3e653baab3 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 d7135fe9867b08b2f1046e3af36cf845b94cb7e2..b76bc3f5c145cad307b0bc6ef8a1f4a229743882 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 491b6bb67898b554c54db5fcd9c64197697a873a..0ebffbd1193bbf693dc8e69aede2ec86ac88551d 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 a8c3a7c86fae26829336d68e5843e14b633cff49..efd341618007dd7dd7801b162461df80afd5a72a 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 e75988c9d5aaba99e0645a6ef994f3cbfa6a1ef1..f377823f2c6ca05c708c0330d84857bb1c7e76c1 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 019e04da7312c931477987097bbf9cf298148c7e..c5e6cafa4448fe9f0d9c79bc38d34c1aabeca16e 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 %}"