Update hook link instructions to use relative path

The original instructions used an absolute path for the symbolic link,
which would not be valid if the kayobe-config repository was cloned in a
different location.

Change-Id: Id595a12845f445203993fc6ed567e7f7f393742f
This commit is contained in:
Pierre Riteau 2020-07-10 17:42:58 +02:00
parent 335ed05a5d
commit fa19513ed4

View File

@ -158,9 +158,9 @@ ordering.
For example to run the playbook ``foo.yml`` after ``kayobe overcloud host configure``,
you could do the following::
(kayobe) $ mkdir -p $KAYOBE_CONFIG_PATH/hooks/overcloud-host-configure/post.d
(kayobe) $ ln -s $KAYOBE_CONFIG_PATH/ansible/foo.yml \
$KAYOBE_CONFIG_PATH/hooks/overcloud-host-configure/post.d/10-foo.yml
(kayobe) $ mkdir -p ${KAYOBE_CONFIG_PATH}/hooks/overcloud-host-configure/post.d
(kayobe) $ cd ${KAYOBE_CONFIG_PATH}/hooks/overcloud-host-configure/post.d
(kayobe) $ ln -s ../../../ansible/foo.yml 10-foo.yml
The sequence number for the ``foo.yml`` playbook is ``10``.