Merge "Sync NTP before Ansible bootstrap"
This commit is contained in:
commit
0271a73682
@ -183,6 +183,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
@ -184,6 +184,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
@ -181,6 +181,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
@ -183,6 +183,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
@ -184,6 +184,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
@ -181,6 +181,8 @@ Bootstrap system on controller-0
|
||||
|
||||
#. Run the Ansible bootstrap playbook:
|
||||
|
||||
.. include:: /shared/_includes/ntp-update-note.rest
|
||||
|
||||
::
|
||||
|
||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||
|
18
doc/source/shared/_includes/ntp-update-note.rest
Normal file
18
doc/source/shared/_includes/ntp-update-note.rest
Normal file
@ -0,0 +1,18 @@
|
||||
.. note::
|
||||
Before running the Ansible bootstrap playbook, it is important that you
|
||||
ensure that controller-0 server time is synchronized correctly. Run the following
|
||||
command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
# check the current server time
|
||||
$ date
|
||||
|
||||
# if the current server time is not correct, update with NTP
|
||||
|
||||
# first add nameserver for DNS resolution
|
||||
$ echo "nameserver 8.8.8.8" >> /etc/resolvconf
|
||||
$ echo "nameserver 8.8.4.4" >> /etc/resolvconf
|
||||
|
||||
# run ntpdate
|
||||
$ sudo ntpdate 0.pool.ntp.org 1.pool.ntp.org
|
Loading…
x
Reference in New Issue
Block a user