diff --git a/.gitignore b/.gitignore index fc6baee..30e1a38 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ *.pyc roles/tkuhlman.* roles/stympy.influxdb +ansible.cfg diff --git a/README.md b/README.md index 429715e..9238051 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/smoke.yml b/smoke.yml index 8326aeb..0a30983 100644 --- a/smoke.yml +++ b/smoke.yml @@ -1,5 +1,5 @@ - hosts: mini-mon - sudo: yes + gather_facts: no tasks: - name: Run the smoke test command: /vagrant/tests/smoke.py