Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
systemd
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
systemd
Commits
0c611fb7
Commit
0c611fb7
authored
2 years ago
by
Chris Croome
Browse files
Options
Downloads
Patches
Plain Diff
Minimal defaults
parent
a33a8183
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#24410
passed
2 years ago
Stage: lint
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+0
-8
0 additions, 8 deletions
defaults/main.yml
tasks/file_edited.yml
+1
-0
1 addition, 0 deletions
tasks/file_edited.yml
tasks/file_present.yml
+2
-0
2 additions, 0 deletions
tasks/file_present.yml
with
3 additions
and
8 deletions
defaults/main.yml
+
0
−
8
View file @
0c611fb7
...
...
@@ -5,17 +5,9 @@ systemd_units:
-
name
:
systemd-timesyncd
files
:
-
path
:
/etc/systemd/timesyncd.conf
# comment: |
# Entries in this file show the compile time defaults.
# You can change settings by editing this file.
# Defaults can be restored by simply deleting this file.
# See timesyncd.conf(5) for details.
conf
:
Time
:
NTP
:
1.pool.ntp.org 0.pool.ntp.org 3.pool.ntp.org 2.pool.ntp.org
state
:
edited
pkgs
:
-
systemd-timesyncd
state
:
present
unit_state
:
started
...
This diff is collapsed.
Click to expand it.
tasks/file_edited.yml
+
1
−
0
View file @
0c611fb7
...
...
@@ -22,6 +22,7 @@
loop
:
"
{{
systemd_section.value
|
dict2items
}}"
loop_control
:
loop_var
:
systemd_variable_pair
notify
:
Reload systemd
-
name
:
Vim modelines comment present at the end of the file
ansible.builtin.lineinfile
:
...
...
This diff is collapsed.
Click to expand it.
tasks/file_present.yml
+
2
−
0
View file @
0c611fb7
...
...
@@ -90,6 +90,7 @@
when
:
-
systemd_file_state.stat.exists | bool
-
systemd_file.state is defined
-
systemd_file.state == "edited"
-
name
:
Systemd unit file templated
...
...
@@ -115,6 +116,7 @@
when
:
>-
( not systemd_file_state.stat.exists | bool ) or
( systemd_file.state is not defined ) or
( systemd_file.state == "templated" )
-
name
:
Include flush handlers task
...
...
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