From df1a2b568446b79cb67ea50a3e0b475029681808 Mon Sep 17 00:00:00 2001 From: Tim Kuhlman Date: Thu, 20 Nov 2014 08:13:03 -0700 Subject: [PATCH] Minor cleanup for docs related to direct ansible runs Change-Id: I12878c3ce4e8f29ab247e5febf71d94562cfb4ce --- .gitignore | 1 + README.md | 4 ++-- smoke.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) 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