Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
role-systemd-timer
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
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
SLUB - Referat 2.5
Ansible
role-systemd-timer
Commits
6faf05d7
Commit
6faf05d7
authored
1 year ago
by
Hannes Braun
Browse files
Options
Downloads
Patches
Plain Diff
Fixed wrong indent on 'tasks/main.yml'
parent
05a3685d
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/main.yml
+29
-29
29 additions, 29 deletions
tasks/main.yml
with
29 additions
and
29 deletions
tasks/main.yml
+
29
−
29
View file @
6faf05d7
---
---
-
name
:
Upload files and enable timer
-
name
:
Upload files and enable timer
block
:
block
:
-
name
:
Uploading service file
-
name
:
Uploading service file
template
:
template
:
src
:
service.j2
src
:
service.j2
dest
:
"
{{
systemd_base_path
|
default('/etc/systemd/system')
}}/{{
item.key
}}.service"
dest
:
"
{{
systemd_base_path
|
default('/etc/systemd/system')
}}/{{
item.key
}}.service"
owner
:
"
{{
item.value.timer_user
|
default('root')
}}"
owner
:
"
{{
item.value.timer_user
|
default('root')
}}"
group
:
"
{{
item.value.timer_user
|
default('root')
}}"
group
:
"
{{
item.value.timer_user
|
default('root')
}}"
mode
:
0644
mode
:
0644
with_dict
:
"
{{
timers
}}"
with_dict
:
"
{{
timers
}}"
-
name
:
Uploading timer file
-
name
:
Uploading timer file
template
:
template
:
src
:
timer.j2
src
:
timer.j2
dest
:
"
{{
systemd_base_path
|
default('/etc/systemd/system')
}}/{{
item.key
}}.timer"
dest
:
"
{{
systemd_base_path
|
default('/etc/systemd/system')
}}/{{
item.key
}}.timer"
owner
:
"
{{
item.value.timer_user
|
default('root')
}}"
owner
:
"
{{
item.value.timer_user
|
default('root')
}}"
group
:
"
{{
item.value.timer_user
|
default('root')
}}"
group
:
"
{{
item.value.timer_user
|
default('root')
}}"
mode
:
0644
mode
:
0644
with_dict
:
"
{{
timers
}}"
with_dict
:
"
{{
timers
}}"
-
name
:
Enabling timers
-
name
:
Enabling timers
systemd
:
systemd
:
name
:
"
{{
item.key
}}.timer"
name
:
"
{{
item.key
}}.timer"
state
:
restarted
state
:
restarted
enabled
:
true
enabled
:
true
masked
:
false
masked
:
false
scope
:
"
{{
systemd_scope
|
default('system')
}}"
scope
:
"
{{
systemd_scope
|
default('system')
}}"
with_dict
:
"
{{
timers
}}"
with_dict
:
"
{{
timers
}}"
notify
:
Reload systemd
notify
:
Reload systemd
\ No newline at end of file
\ No newline at end of file
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