Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
infra
ansible-shared
common
Commits
7b51f550
Commit
7b51f550
authored
1 year ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
*: Fix new ansible-lint issues
parent
41e1db00
No related branches found
No related tags found
No related merge requests found
Pipeline
#5373
passed
1 year ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
basic-system/handlers/main.yml
+3
-1
3 additions, 1 deletion
basic-system/handlers/main.yml
localization/handlers/main.yml
+1
-0
1 addition, 0 deletions
localization/handlers/main.yml
shell/handlers/main.yml
+2
-0
2 additions, 0 deletions
shell/handlers/main.yml
with
6 additions
and
1 deletion
basic-system/handlers/main.yml
+
3
−
1
View file @
7b51f550
...
@@ -11,9 +11,11 @@
...
@@ -11,9 +11,11 @@
state
:
restarted
state
:
restarted
-
name
:
configure journal directory
-
name
:
configure journal directory
# noqa no-changed-when
command
:
systemd-tmpfiles --create --prefix /var/log/journal
command
:
systemd-tmpfiles --create --prefix /var/log/journal
-
name
:
update initramfs
-
name
:
update initramfs
# noqa no-changed-when
command
:
update-initramfs -u
command
:
update-initramfs -u
-
name
:
gather network facts once again
-
name
:
gather network facts once again
...
@@ -27,6 +29,6 @@
...
@@ -27,6 +29,6 @@
-
name
:
Remove pve directory from etckeeper repo
-
name
:
Remove pve directory from etckeeper repo
# ansible-lint wants us to use the ansible git module, but it doesn’t
# ansible-lint wants us to use the ansible git module, but it doesn’t
# provide that feature
# provide that feature
shell
:
# noqa: command-instead-of-module
shell
:
# noqa: command-instead-of-module
no-changed-when
chdir
:
/etc
chdir
:
/etc
cmd
:
git rm --cached -r -- pve && git commit -m "'Remove pve directory'"
cmd
:
git rm --cached -r -- pve && git commit -m "'Remove pve directory'"
This diff is collapsed.
Click to expand it.
localization/handlers/main.yml
+
1
−
0
View file @
7b51f550
...
@@ -11,4 +11,5 @@
...
@@ -11,4 +11,5 @@
state
:
restarted
state
:
restarted
-
name
:
update timezone
-
name
:
update timezone
# noqa no-changed-when
command
:
dpkg-reconfigure --frontend noninteractive tzdata
command
:
dpkg-reconfigure --frontend noninteractive tzdata
This diff is collapsed.
Click to expand it.
shell/handlers/main.yml
+
2
−
0
View file @
7b51f550
---
---
-
name
:
rerun depmod
-
name
:
rerun depmod
# noqa no-changed-when
command
:
depmod -ae
command
:
depmod -ae
-
name
:
update initramfs
-
name
:
update initramfs
# noqa no-changed-when
command
:
update-initramfs -u
command
:
update-initramfs -u
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