Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
php
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
webarch
php
Commits
beb20cc2
Verified
Commit
beb20cc2
authored
1 year ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
add labels to loops
parent
631cbacc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#32761
passed
1 year ago
Stage: bookworm
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/conf.yml
+6
-0
6 additions, 0 deletions
tasks/conf.yml
with
6 additions
and
0 deletions
tasks/conf.yml
+
6
−
0
View file @
beb20cc2
...
...
@@ -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 != []
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment