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
Łukasz Nowak
slapos.package
Commits
5dfe2a60
Commit
5dfe2a60
authored
Feb 13, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install ntpsec for Ubuntu 23
parent
c0cb250b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
playbook/roles/ntp/meta/main.yml
playbook/roles/ntp/meta/main.yml
+14
-2
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/ntp/meta/main.yml
View file @
5dfe2a60
---
---
dependencies
:
dependencies
:
-
{
role
:
package
,
package_name
:
ntp
,
package_state
:
present
,
when
:
ansible_distribution != "Fedora" or ansible_distribution_major_version|int < 34
}
-
name
:
Install old ntp package
-
{
role
:
package
,
package_name
:
ntpsec
,
package_state
:
present
,
when
:
ansible_distribution == "Fedora" and ansible_distribution_major_version|int >= 34
}
role
:
package
package_name
:
ntp
package_state
:
present
when
:
( ansible_distribution == "Fedora" and ansible_distribution_major_version|int < 34 ) or
( ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int < 23 ) or
( ansible_distribution != "Fedora" and ansible_distribution != "Ubuntu" )
-
name
:
Install ntpsec package
role
:
package
package_name
:
ntpsec
package_state
:
present
when
:
( ansible_distribution == "Fedora" and ansible_distribution_major_version|int >= 34 ) or
( ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 23 )
playbook/sha256sum
View file @
5dfe2a60
375ff12a509c9a5922a7dad40bdcf00fc0fb3500495cdcfbf75fd7eaa2b2c104
-
f7db67d2806f9f32c0e9b3dfe3979a8ec73df099ecb3124a3f788171947150b8
-
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