Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Very Demiurge Very Mindful
Kolla Ansible
Commits
2f809c15
Commit
2f809c15
authored
7 years ago
by
Jenkins
Committed by
Gerrit Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "ntpd behind proxy fails"
parents
960c8de7
8e1940d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ansible/roles/baremetal/defaults/main.yml
+2
-0
2 additions, 0 deletions
ansible/roles/baremetal/defaults/main.yml
ansible/roles/baremetal/tasks/post-install.yml
+13
-4
13 additions, 4 deletions
ansible/roles/baremetal/tasks/post-install.yml
with
15 additions
and
4 deletions
ansible/roles/baremetal/defaults/main.yml
+
2
−
0
View file @
2f809c15
...
...
@@ -9,6 +9,8 @@ customize_etc_hosts: True
create_kolla_user
:
True
enable_host_ntp
:
True
docker_storage_driver
:
"
"
debian_pkg_install
:
...
...
This diff is collapsed.
Click to expand it.
ansible/roles/baremetal/tasks/post-install.yml
+
13
−
4
View file @
2f809c15
...
...
@@ -66,18 +66,23 @@
name
:
ntp
state
:
stopped
become
:
True
when
:
ansible_os_family == "Debian"
when
:
-
ansible_os_family == "Debian"
-
enable_host_ntp | bool
-
name
:
Stop time service
service
:
name
:
ntpd
state
:
stopped
become
:
True
when
:
ansible_os_family == "RedHat"
when
:
-
ansible_os_family == "RedHat"
-
enable_host_ntp | bool
-
name
:
Synchronizing time one-time
command
:
ntpd -gq
become
:
True
when
:
enable_host_ntp | bool
-
name
:
Start time sync service
service
:
...
...
@@ -85,7 +90,9 @@
state
:
started
enabled
:
yes
become
:
True
when
:
ansible_os_family == "Debian"
when
:
-
ansible_os_family == "Debian"
-
enable_host_ntp | bool
-
name
:
Start time sync service
service
:
...
...
@@ -93,7 +100,9 @@
state
:
started
enabled
:
yes
become
:
True
when
:
ansible_os_family == "RedHat"
when
:
-
ansible_os_family == "RedHat"
-
enable_host_ntp | bool
-
name
:
Reboot
command
:
reboot -f
...
...
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