Sync NTP before Ansible bootstrap
Added note about importance of syncing NTP time before running running Ansibe bootstrap playbook. Patchset 1 updates. Patchset 2 updates. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: Icb68d609d728a9a72f94085d902ec6d63bdd273f Signed-off-by: Ron Stone <ronald.stone@windriver.com>
This commit is contained in:
parent
86e1b981ce
commit
53fdd3f74e
@ -183,6 +183,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||||
|
@ -184,6 +184,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||||
|
@ -181,6 +181,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||||
|
@ -183,6 +183,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||||
|
@ -184,6 +184,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
||||||
|
@ -181,6 +181,8 @@ Bootstrap system on controller-0
|
|||||||
|
|
||||||
#. Run the Ansible bootstrap playbook:
|
#. Run the Ansible bootstrap playbook:
|
||||||
|
|
||||||
|
.. include:: /shared/_includes/ntp-update-note.rest
|
||||||
|
|
||||||
::
|
::
|
||||||
|
|
||||||
ansible-playbook /usr/share/ansible/stx-ansible/playbooks/bootstrap.yml
|
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