Use double quotes around bash variables
It's not entirely required, but I was confused why copy/paste wouldn't work the first few times I can this, having set the HOST variable. Change-Id: I67cb8f27a28befbb15b070004957a78a3b776a59
This commit is contained in:
parent
03a687ee2d
commit
c179562d50
@ -117,7 +117,7 @@ puppetmaster, running:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
ansible-playbook --limit='$HOST:localhost' /opt/system-config/production/playbooks/remote_puppet_adhoc.yaml
|
||||
ansible-playbook --limit="$HOST:localhost" /opt/system-config/production/playbooks/remote_puppet_adhoc.yaml
|
||||
|
||||
as root, where `$HOST` is the host you want to run puppet on.
|
||||
The `:localhost` is important as some of the plays depend on performing a task
|
||||
|
Loading…
x
Reference in New Issue
Block a user