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
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rafael Monnerat
slapos.package
Commits
4a9bbff3
Commit
4a9bbff3
authored
May 18, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: Use role to ensure ntp is running after upgrade.
parent
f0834f9a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
playbook/roles/ntp/tasks/main.yml
playbook/roles/ntp/tasks/main.yml
+2
-2
playbook/vifib-upgrade.yml
playbook/vifib-upgrade.yml
+1
-1
No files found.
playbook/roles/ntp/tasks/main.yml
View file @
4a9bbff3
---
-
name
:
Install ntp
apt
:
name=ntp state=latest update_cache=
no
apt
:
name=ntp state=latest update_cache=
yes
when
:
ansible_os_family == "Debian"
-
name
:
Install ntp
yum
:
name=ntp state=latest update_cache=
no
yum
:
name=ntp state=latest update_cache=
yes
when
:
ansible_os_family == "RedHat"
-
name
:
ensure ntp is runing
...
...
playbook/vifib-upgrade.yml
View file @
4a9bbff3
...
...
@@ -10,7 +10,7 @@
-
settings/vifib.yml
roles
:
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
latest
}
-
ntp
-
{
role
:
package
,
package_name
:
wget
,
package_state
:
latest
}
-
{
role
:
package
,
package_name
:
openssl
,
package_state
:
latest
}
-
{
role
:
package
,
package_name
:
ca-certificates
,
package_state
:
latest
}
...
...
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