Minor cleanup for docs related to direct ansible runs
Change-Id: I12878c3ce4e8f29ab247e5febf71d94562cfb4ce
This commit is contained in:
parent
12a9d9bce5
commit
df1a2b5684
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@
|
|||||||
*.pyc
|
*.pyc
|
||||||
roles/tkuhlman.*
|
roles/tkuhlman.*
|
||||||
roles/stympy.influxdb
|
roles/stympy.influxdb
|
||||||
|
ansible.cfg
|
||||||
|
@ -105,10 +105,10 @@ To edit the Ansible roles I suggest downloading the full git source of the role
|
|||||||
your ansible path. Then though you can rerun `vagrant provision` to test your changes. Often it is
|
your ansible path. Then though you can rerun `vagrant provision` to test your changes. Often it is
|
||||||
easier to run ansible directly and specify tags, ie `ansible-playbook mini-mon --tags api,persister`.
|
easier to run ansible directly and specify tags, ie `ansible-playbook mini-mon --tags api,persister`.
|
||||||
For this to work smoothly add these vagrant specific settings to
|
For this to work smoothly add these vagrant specific settings to
|
||||||
your local ansible configuration (~/.ansible.cfg):
|
your local ansible configuration (~/.ansible.cfg or a personal ansible.cfg in this dir):
|
||||||
|
|
||||||
[defaults]
|
[defaults]
|
||||||
hostfile = .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
|
hostfile = .ansible_hosts
|
||||||
private_key_file = ~/.vagrant.d/insecure_private_key
|
private_key_file = ~/.vagrant.d/insecure_private_key
|
||||||
remote_user = vagrant
|
remote_user = vagrant
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user