Minor cleanup for docs related to direct ansible runs

Change-Id: I12878c3ce4e8f29ab247e5febf71d94562cfb4ce
This commit is contained in:
Tim Kuhlman 2014-11-20 08:13:03 -07:00
parent 12a9d9bce5
commit df1a2b5684
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -7,3 +7,4 @@
*.pyc
roles/tkuhlman.*
roles/stympy.influxdb
ansible.cfg

View File

@ -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
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
your local ansible configuration (~/.ansible.cfg):
your local ansible configuration (~/.ansible.cfg or a personal ansible.cfg in this dir):
[defaults]
hostfile = .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory
hostfile = .ansible_hosts
private_key_file = ~/.vagrant.d/insecure_private_key
remote_user = vagrant

View File

@ -1,5 +1,5 @@
- hosts: mini-mon
sudo: yes
gather_facts: no
tasks:
- name: Run the smoke test
command: /vagrant/tests/smoke.py