Skip to content
Snippets Groups Projects
Verified Commit beb20cc2 authored by Chris Croome's avatar Chris Croome
Browse files

add labels to loops

parent 631cbacc
No related branches found
No related tags found
No related merge requests found
Pipeline #32761 passed
......@@ -96,6 +96,7 @@
loop: "{{ php_conf_ver_present }}"
loop_control:
loop_var: php_ver_dbg
label: "{{ php_ver_dbg }}"
- name: Include PHP conf file path checks
ansible.builtin.include_tasks: conf_path_check.yml
......@@ -104,6 +105,7 @@
loop: "{{ php_conf_ver_present }}"
loop_control:
loop_var: php_ver_chk
label: "{{ php_ver_chk }}"
- name: Ensure that all files that are set to be edited already exist
ansible.builtin.assert:
......@@ -144,6 +146,7 @@
loop: "{{ php_conf_rm }}"
loop_control:
loop_var: php_rm
label: "{{ php_rm | ansible.builtin.basename }}"
register: php_conf_removed
when:
- php_conf_rm is defined
......@@ -173,6 +176,7 @@
loop: "{{ php_conf_dirs_create }}"
loop_control:
loop_var: php_dir
label: "{{ php_dir | ansible.builtin.basename }}"
register: php_conf_dir_created
when:
- php_conf_dirs_create is defined
......@@ -202,6 +206,7 @@
loop: "{{ php_conf_files_template }}"
loop_control:
loop_var: php_conf_file
label: "{{ php_conf_file | ansible.builtin.basename }}"
when:
- php_conf_files_template is defined
- php_conf_files_template != []
......@@ -220,6 +225,7 @@
loop: "{{ php_conf_files_edit }}"
loop_control:
loop_var: php_conf_file
label: "{{ php_conf_file | ansible.builtin.basename }}"
when:
- php_conf_files_edit is defined
- php_conf_files_edit != []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment