Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
supplemental
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
supplemental
Commits
7dce5a57
Commit
7dce5a57
authored
7 years ago
by
Lars Beckers
Browse files
Options
Downloads
Patches
Plain Diff
debian-updates: install missing pkgs, fix config template
parent
8bd5a7f7
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
debian-updates/tasks/main.yml
+14
-1
14 additions, 1 deletion
debian-updates/tasks/main.yml
debian-updates/templates/config.py.j2
+1
-1
1 addition, 1 deletion
debian-updates/templates/config.py.j2
with
15 additions
and
2 deletions
debian-updates/tasks/main.yml
+
14
−
1
View file @
7dce5a57
...
@@ -3,8 +3,21 @@
...
@@ -3,8 +3,21 @@
-
name
:
ensure any dependencies are available
-
name
:
ensure any dependencies are available
apt
:
apt
:
name
:
python3
name
:
"
{{
item
}}"
state
:
installed
state
:
installed
with_items
:
-
python3
-
fortune-mod
-
fortunes
-
fortunes-off
tags
:
-
debian-updates
-
name
:
ensure fortune is in PATH
file
:
state
:
link
path
:
/usr/local/bin/fortune
src
:
/usr/games/fortune
tags
:
tags
:
-
debian-updates
-
debian-updates
...
...
This diff is collapsed.
Click to expand it.
debian-updates/templates/config.py.j2
+
1
−
1
View file @
7dce5a57
...
@@ -4,7 +4,7 @@ lock_file = '/opt/debian-updates/.json-sync.lock'
...
@@ -4,7 +4,7 @@ lock_file = '/opt/debian-updates/.json-sync.lock'
report_file = '/opt/debian-updates/apticron.json'
report_file = '/opt/debian-updates/apticron.json'
tracker_file = '/opt/debian-updates/security.json'
tracker_file = '/opt/debian-updates/security.json'
notify_subject = '{{ (domain
|
split
ext
|first).upper() }} daily update report on '+str(datetime.date.today())
notify_subject = '{{ (domain
.
split
(".")
|first).upper() }} daily update report on '+str(datetime.date.today())
notify_from = '{{ debupdates_from }}'
notify_from = '{{ debupdates_from }}'
notify_recipient = ['{{ debupdates_to|join("', '") }}']
notify_recipient = ['{{ debupdates_to|join("', '") }}']
notify_header = 'Debian Update Notifier/v0.1'
notify_header = 'Debian Update Notifier/v0.1'
...
...
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