Skip to content

Commit a789c5f

Browse files
committed
Add message on how to access ansible inventory
Signed-off-by: Anders F Björklund <[email protected]>
1 parent 587ff3e commit a789c5f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/ansible.yaml

+8
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,11 @@ mounts:
2222
provision:
2323
- mode: ansible
2424
playbook: ./templates/ansible/playbook.yaml
25+
message: |
26+
To run `ansible` on the host (assumes ansible is installed), run the following commands:
27+
------
28+
export ANSIBLE_INVENTORY="{{.Dir}}/ansible-inventory.yaml"
29+
# To see the inventory: `ansible-inventory --list --yaml`
30+
31+
ansible all -m ping
32+
------

0 commit comments

Comments
 (0)