Mitchell Hashimoto
adb72b07d5
plugins/provisioners: put generated inventory file in vagrantfile dir
2013-08-28 16:54:44 -07:00
Mitchell Hashimoto
8445308830
Merge branch 'generate_ansible_hosts' of https://github.com/commandtab/vagrant into commandtab-generate_ansible_hosts
...
Conflicts:
plugins/provisioners/ansible/provisioner.rb
2013-08-28 16:52:13 -07:00
Mitchell Hashimoto
02399a145c
provisioners/ansible: allow verbose :extra to be string
2013-08-28 16:46:04 -07:00
Mitchell Hashimoto
99a51a1ba8
Merge pull request #1979 from bmabey/patch-1
...
provisioners/ansible: adds extra verbosity option
2013-08-28 16:45:04 -07:00
Ben Mabey
bb3609e6b2
adds extra verbosity option to ansible provisioner
2013-08-12 09:31:54 -06:00
Gilles Cornu
b061e02bc8
Add support for "ansible.skip_tags" attribute
2013-08-12 09:41:18 +02:00
Mitchell Hashimoto
d237bc0657
provisioners/ansible: properly quote vars with spaces [GH-1984]
2013-08-09 11:51:36 -07:00
Mitchell Hashimoto
269f7c2cc6
Merge pull request #2007 from ches/ansible-exit-status
...
provisioners/ansible: Fix Ansible provisioner exit code reporting
2013-08-09 11:17:52 -07:00
Mitchell Hashimoto
17ecd05c5f
plugins/provisioners/ansible: rename inventory_file to inventory_path
...
/cc @ches
2013-08-09 11:06:02 -07:00
Mitchell Hashimoto
ac8b2c5047
plugins/provisioners/ansible: use exist? check
...
/cc @ches
2013-08-09 11:04:35 -07:00
Ches Martin
c38855f8c1
Ansible inventory can be a directory, not just a file
...
It is an under-documented feature that one can specify a directory as
the Ansible inventory source, not just a single file. In that case,
Ansible merges the contents of flat files and any executable inventory
plugins found in the directory.
This is useful, for instance, to put localhost in your inventory for use
with `local_action` even if your entire infrastructure is otherwise on
EC2 or some other dynamic inventory source. I also use a flat file to
create aliases for host groups automatically generated from the EC2 API,
like "staging" for `tag_Environment_staging`.
2013-08-09 01:26:04 +07:00
Ches Martin
d937cca495
Fix Ansible provisioner exit code reporting
...
In eb70c0d6bb
we were trying to compare a Subprocess::Result to a
Fixnum, resulting in Vagrant always reporting failure regardless of
Ansible's exit code.
2013-07-30 19:25:15 +07:00
Mitchell Hashimoto
eb70c0d6bb
Show an error message if ansible fails to run [GH-1699]
2013-07-20 00:07:09 -04:00
Mitchell Hashimoto
8379d0e20e
Don't forcibly output newlines for provisioners
2013-07-19 23:38:25 -04:00
Collin Allen
f67938249d
Generate ansible_hosts file if one is not provided
2013-07-06 23:47:37 -07:00
Gilles Cornu
8d5b614231
protected not private
2013-05-14 05:26:26 +02:00
Gilles Cornu
f2e9562e5f
Add support for "ansible.start_at_task" attribute
2013-05-14 05:25:28 +02:00
Gilles Cornu
cc4734dfc1
Fix typo error (single dash: -vv not --vv)
2013-05-07 16:57:13 +02:00
Gilles Cornu
96fb28dcf9
Support different verbosity levels with 'ansible.verbose'
2013-05-06 23:01:27 +02:00
Gilles Cornu
66715de2ae
Add a Joker to pass raw options to ansible-playbook call
2013-05-06 22:28:20 +02:00
Gilles Cornu
7bc6dd8a33
Add support for "ansible.tags" attribute
2013-05-06 21:17:45 +02:00
Mitchell Hashimoto
d7990721a0
s/not/!/ in ansible provisioner config
2013-04-05 09:43:56 -07:00
Collin Allen
d783b33fe2
Validate that extra_vars is a hash
2013-04-05 09:40:32 -07:00
Collin Allen
c2b43787c5
Make Ansible extra_vars a hash instead of a string
2013-04-05 08:43:45 -07:00
Mitchell Hashimoto
1957efb4e1
Nicer error if ansible-playbook is not installed on the host
2013-04-04 14:01:26 -07:00
Mitchell Hashimoto
896db2f190
Ansible provisioner support CHANGELOG
2013-04-04 13:48:58 -07:00
Collin Allen
2aa96fc550
Enable Ansible color output
2013-04-04 11:31:27 -07:00
Collin Allen
b52d4dcd58
Add config.rb newline
2013-04-04 00:24:14 -07:00
Collin Allen
bbe08744a2
Use Vagrant::Util::Subprocess.execute instead of SafeExec
2013-04-04 00:07:59 -07:00
Collin Allen
28f4a4c890
Update 'require' calls to resemble shell provisioner
2013-04-04 00:07:30 -07:00
Collin Allen
5a052874b4
Improve ansible provisioner error checks
2013-04-03 23:07:07 -07:00
Collin Allen
a1ad1207bd
Add ansible provisioner
2013-04-03 22:56:32 -07:00