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
Carlos Ramos Carreño
slapos.package
Commits
b973d5c6
Commit
b973d5c6
authored
Oct 22, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook: fix ntp installation for Debian 12 (use ntpsec)
parent
c5bd9cec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
playbook/roles/ntp/meta/main.yml
playbook/roles/ntp/meta/main.yml
+5
-3
No files found.
playbook/roles/ntp/meta/main.yml
View file @
b973d5c6
...
@@ -7,17 +7,19 @@ dependencies:
...
@@ -7,17 +7,19 @@ dependencies:
when
:
( ansible_distribution == "Fedora" and ansible_distribution_major_version|int < 34 ) or
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 == "Ubuntu" and ansible_distribution_major_version|int < 23 ) or
( ansible_distribution == "SLES" and ansible_distribution_major_version|int < 15 ) or
( ansible_distribution == "SLES" and ansible_distribution_major_version|int < 15 ) or
( ansible_distribution != "Fedora" and ansible_distribution != "Ubuntu" and ansible_distribution != "SLES")
( ansible_distribution == "Debian" and ansible_distribution_major_version|int < 12 ) or
( ansible_distribution != "Fedora" and ansible_distribution != "Ubuntu" and ansible_distribution != "SLES" and ansible_distribution != "Debian" )
-
name
:
Install ntpsec package
-
name
:
Install ntpsec package
role
:
package
role
:
package
package_name
:
ntpsec
package_name
:
ntpsec
package_state
:
present
package_state
:
present
when
:
( ansible_distribution == "Fedora" and ansible_distribution_major_version|int >= 34 ) or
when
:
( ansible_distribution == "Fedora" and ansible_distribution_major_version|int >= 34 ) or
( ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 23 )
( ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int >= 23 ) or
( ansible_distribution == "Debian" and ansible_distribution_major_version|int >= 12 )
-
name
:
Install chrony package
-
name
:
Install chrony package
role
:
package
role
:
package
package_name
:
chrony
package_name
:
chrony
package_state
:
present
package_state
:
present
when
:
ansible_distribution == "SLES" and ansible_distribution_major_version|int >= 15
when
:
ansible_distribution == "SLES" and ansible_distribution_major_version|int >=
15
\ No newline at end of file
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