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
64649377
Verified
Commit
64649377
authored
1 year ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
Fix rename variable
parent
4215bb83
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#27551
passed
1 year ago
Stage: lint
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+9
-9
9 additions, 9 deletions
tasks/main.yml
with
9 additions
and
9 deletions
tasks/main.yml
+
9
−
9
View file @
64649377
...
...
@@ -31,14 +31,14 @@
-
name
:
Apache packages absent
ansible.builtin.apt
:
pkg
:
"
{{
apache_p
ackage
s_absent
}}"
pkg
:
"
{{
apache_p
kg
s_absent
}}"
state
:
absent
update_cache
:
false
when
:
-
apache_p
ackage
s_absent is defined
-
apache_p
ackage
s_absent != []
-
apache_p
kg
s_absent is defined
-
apache_p
kg
s_absent != []
-
ansible_local.dpkg.installed is defined
-
apache_p
ackage
s_absent | ansible.builtin.intersect(ansible_local.dpkg.installed) != []
-
apache_p
kg
s_absent | ansible.builtin.intersect(ansible_local.dpkg.installed) != []
-
name
:
Apache present from buster-backports
ansible.builtin.apt
:
...
...
@@ -49,21 +49,21 @@
default_release
:
buster-backports
update_cache
:
true
when
:
-
apache_p
ackage
s_present is defined
-
apache_p
kg
s_present is defined
-
( "apache2" in apache_pkgs_present )
-
ansible_distribution_release == "buster"
-
name
:
Apache packages present
ansible.builtin.apt
:
pkg
:
"
{{
apache_p
ackage
s_present
}}"
pkg
:
"
{{
apache_p
kg
s_present
}}"
state
:
present
install_recommends
:
true
update_cache
:
false
when
:
-
apache_p
ackage
s_present is defined
-
apache_p
ackage
s_present != []
-
apache_p
kg
s_present is defined
-
apache_p
kg
s_present != []
-
ansible_local.dpkg.installed is defined
-
apache_p
ackage
s_present | ansible.builtin.difference(ansible_local.dpkg.installed) != []
-
apache_p
kg
s_present | ansible.builtin.difference(ansible_local.dpkg.installed) != []
when
:
>-
( ( apache_pkgs_absent is defined ) and ( apache_pkgs_absent != [] ) or
...
...
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