Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.package
Commits
918e538d
Commit
918e538d
authored
Mar 14, 2019
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[playbook] make sure playbook works with old version of ansible
parent
c5e509c3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
10 deletions
+0
-10
playbook/roles/upgrade-apt/tasks/main.yml
playbook/roles/upgrade-apt/tasks/main.yml
+0
-1
playbook/roles/vifib-server/handlers/main.yml
playbook/roles/vifib-server/handlers/main.yml
+0
-6
playbook/roles/vifib-server/tasks/main.yml
playbook/roles/vifib-server/tasks/main.yml
+0
-3
No files found.
playbook/roles/upgrade-apt/tasks/main.yml
View file @
918e538d
...
...
@@ -5,7 +5,6 @@
-
name
:
get packages to upgrade
shell
:
grep-status -X -S apt -ns Package
register
:
packages_to_upgrade
check_mode
:
no
-
name
:
Upgrade all apt related packages
apt
:
name={{ packages_to_upgrade.stdout.split('\n') }} state=latest
playbook/roles/vifib-server/handlers/main.yml
deleted
100644 → 0
View file @
c5e509c3
---
-
name
:
Update cron service definition
# For ansible version < 2.4, state=restarted is mandatory to
# apply the changes (daemon_reload=yes only is not enough)
systemd
:
daemon_reload=yes name=cron state=restarted
playbook/roles/vifib-server/tasks/main.yml
View file @
918e538d
...
...
@@ -32,7 +32,6 @@
-
name
:
Get systemd version
shell
:
systemd --version | head -n 1 | cut -d " " -f
2
register
:
systemd_version
check_mode
:
no
-
file
:
state=directory path="/etc/systemd/system/cron.service.d/"
when
:
systemd_version.stdout | int >
228
...
...
@@ -40,5 +39,3 @@
-
name
:
Increase the maximum of subprocesses for cron
copy
:
src="etc_systemd_system_cron_service_d_override.conf" dest="/etc/systemd/system/cron.service.d/override.conf" mode=0644 owner=root group=root
when
:
systemd_version.stdout | int >
228
notify
:
-
"
Update
cron
service
definition"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment