Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
apache
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
apache
Commits
ff5fe6e0
Commit
ff5fe6e0
authored
5 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
debug test
parent
e93469ff
No related branches found
No related tags found
No related merge requests found
Pipeline
#9807
failed
5 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/checks.yml
+31
-32
31 additions, 32 deletions
tasks/checks.yml
with
31 additions
and
32 deletions
tasks/checks.yml
+
31
−
32
View file @
ff5fe6e0
...
...
@@ -44,35 +44,24 @@
-
name
:
apache_mods_enabled and apache_mods_disabled array checks
block
:
-
name
:
Debug mod
s enabled
-
name
:
Debug mod
arrays
debug
:
var
:
apache_mods_enabled
var
:
-
apache_mods_enabled
-
apache_mods_disbled
verbosity
:
2
#loop: "{{ apache_mods_enabled }}"
#loop_control:
# loop_var: mod
# label: "{{ mod }}"
-
name
:
Check that no mods are enabled and disabled
assert
:
that
:
"
{{
mod
}}
not
in
apache_mods_disabled
"
that
:
mod
not in apache_mods_disabled
loop
:
"
{{
apache_mods_enabled
}}"
loop_control
:
loop_var
:
mod
label
:
"
{{
mod
}}"
-
name
:
Debug mods disabled
debug
:
var
:
mod
verbosity
:
2
loop
:
"
{{
apache_mods_disabled
}}"
loop_control
:
loop_var
:
mod
label
:
"
{{
mod
}}"
-
name
:
Check that no mods are disabled and enabled
assert
:
that
:
"
{{
mod
}}
not
in
apache_mods_enabled
"
that
:
mod
not in apache_mods_enabled
loop
:
"
{{
apache_mods_disabled
}}"
loop_control
:
loop_var
:
mod
...
...
@@ -82,24 +71,34 @@
-
( apache_mods_enabled is defined ) and ( apache_mods_enabled[0] is defined )
-
( apache_mods_disabled is defined ) and ( apache_mods_disabled[0] is defined )
-
name
:
Check that no conf are enabled and disabled
assert
:
that
:
conf not in apache_conf_disabled
loop
:
apache_conf_enabled
loop_control
:
loop_var
:
conf
label
:
"
{{
conf
}}"
when
:
apache_conf_abled[0] is defined
-
name
:
apache_conf_enabled and apache_conf_disabled array checks
block
:
-
name
:
Check that no conf are disabled and enabled
assert
:
that
:
conf not in apache_conf_enabled
loop
:
apache_conf_disabled
loop_control
:
loop_var
:
conf
label
:
"
{{
conf
}}"
-
name
:
Debug conf arrays
debug
:
var
:
-
apache_conf_enabled
-
apache_conf_disbled
verbosity
:
2
-
name
:
Check that no conf are enabled and disabled
assert
:
that
:
conf not in apache_conf_disabled
loop
:
apache_conf_enabled
loop_control
:
loop_var
:
conf
label
:
"
{{
conf
}}"
-
name
:
Check that no conf are disabled and enabled
assert
:
that
:
conf not in apache_conf_enabled
loop
:
apache_conf_disabled
loop_control
:
loop_var
:
conf
label
:
"
{{
conf
}}"
when
:
-
( apache_conf_enabled is defined ) and ( apache_conf_enabled[0] is defined )
-
( apache_conf_disabled is defined ) and ( apache_conf_disabled[0] is defined )
-
name
:
Check that no sites are enabled and disabled
...
...
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