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
b57ea240
Commit
b57ea240
authored
3 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
debug test
parent
12d24802
No related branches found
No related tags found
1 merge request
!1
Merge Sury
Pipeline
#20529
failed
3 years ago
Stage: lint
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/checks.yml
+8
-0
8 additions, 0 deletions
tasks/checks.yml
tasks/saip_checks.yml
+23
-0
23 additions, 0 deletions
tasks/saip_checks.yml
with
31 additions
and
0 deletions
tasks/checks.yml
+
8
−
0
View file @
b57ea240
...
...
@@ -71,6 +71,14 @@
var
:
php_versions_remove
verbosity
:
2
-
name
:
Include SAPI checks for PHP versions to install
include_tasks
:
sapi_checks.yml
loop
:
"
{{
php_versions_install
}}"
loop_control
:
loop_var
:
version
label
:
"
{{
version
}}"
when
:
( php_versions_install is defined ) and ( php_versions_install != [] )
-
name
:
Debug fail
fail
:
...
...
This diff is collapsed.
Click to expand it.
tasks/saip_checks.yml
0 → 100644
+
23
−
0
View file @
b57ea240
---
-
name
:
PHP SAPI checks
block
:
-
name
:
Generate an array of existing PHP SAPIs
set_fact
:
php_existing_sapis
:
"
{{
php_existing_sapis
|
default([])
}}
+
[
'{{
existing_sapi.key
}}'
]"
when
:
-
ansible_local.phpquery.versions[version] is defined
-
existing_sapi.value.state == "present"
loop
:
"
{{
ansible_local.phpquery.versions[version]
|
dict2items
}}"
loop_control
:
loop_var
:
existing_sapi
label
:
"
{{
existing_sapi.key
}}"
-
name
:
Debug existing PHP SAPIs
debug
:
ver
:
php_existing_sapis
when
:
php_existing_sapis is defined
tags
:
-
php
...
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