Gilles Cornu
1cd2fe56a0
ansible: generate inventory in .vagrant/...
2014-02-24 16:52:38 +01:00
Gilles Cornu
d5055c6252
provisioners/ansible: improve `inventory_path` doc
...
Related to discussion held in #3004 .
2014-02-24 16:47:10 +01:00
Gilles Cornu
74c4ae06c1
Ansible Docs: Tip about Parallel Multi-Machine
2014-02-17 22:36:46 +01:00
Gilles Cornu
17a4d75fd5
Ansible: Try to document the limit breaking change
2014-02-17 22:34:38 +01:00
Gilles Cornu
709f3f4e6f
provisioners/ansible: Change --limit behaviours
...
- The implicit default limit is always set
- ansible.limit as an empty string won't disable the default limit, but
will be passed as "--limit=" argument and ansible-playbook will return
an error (provided host list is empty)
2014-02-16 11:39:15 +01:00
Gilles Cornu
c2663f5d30
provisioners/ansible: Fix Group Management
...
- Support arbitrary depth of "groups of groups of ... groups"
- Skip ':vars' suffix, but allow group names with ':' (yes, Ansible
accepts this character)
- Like for groups of machines, groups of groups can result "empty", but
it is not an issue for Ansible. Recursive filter on the group tree is
a bit hard to implement, and don't brind real added value at Vagrant
level.
2014-02-16 11:20:00 +01:00
Gilles Cornu
b723f0d43d
provisioners/ansible: Document new default limit
...
- explain new default ansible.limit
- shift `ansible.groups` part to Inventory section
- change/add inventory examples
2014-02-03 11:45:03 +01:00
Gilles Cornu
466cf58476
ansible generated inventory: skip group variables
...
Except ':children' for groups of groups, it is safer to avoid generating
':suffix' blocks. At the moment Ansible only supports (but doesn't
recommend) group variables (:vars), and the Vagrant Ansible provisioner
won't support this way to define variables.
2014-02-02 23:28:04 +01:00
Gilles Cornu
f564bf7410
Ansible Groups: Accept single item as String
...
Syntax errors in `ansible.groups` definition are not well handled:
Error returned: undefined method `each' for "machine1":String (NoMethodError)
Being tolerant here doesn't hurt and may avoid people get
confused/annoyed.
2014-02-02 23:21:06 +01:00
Gilles Cornu
84308964e2
ansible generated inventory: deal with orphan VMs
...
env.active_machines can potentiall return 'invalid' machines:
- Ignore machines that are not declared in current Vagrantfile
- Warn when machines are missing (it usually occurs when the VM is
removed without `vagrant destroy` and some orphan metadata remains
in .vagrant/machines/...)
2014-02-02 23:06:27 +01:00
Mark Aaron Shirley
3bf5032d4b
Update Ansible provisioner to only create a single inventory file
...
The Ansible provisioner will now only create a single inventory file named,
"vagrant_ansible_inventory". All defined Vagrant machines will be added to
this inventory file. Provisioning will now include a "--limit=#{machine}"
option to scope Ansible provisioning tasks to just the current machine. Setting
the Ansible provisioner's "limit" config option will override the new default
limit. Ansible provisioning scripts will now have access to all other defined
machines and what groups they reside in.
2014-02-01 13:04:20 -08:00
Mitchell Hashimoto
bc55081e9f
core: execute the specified Vagrant executable in pre-rubygems.rb
2014-02-01 16:28:45 +01:00
Mitchell Hashimoto
24a03de8bf
core: Only load default and plugin Bundler groups to avoid dev deps
2014-01-31 16:42:53 +01:00
Mitchell Hashimoto
8cc7d00314
website/docs: fix typo [GH-2876]
2014-01-27 09:39:04 -08:00
Mitchell Hashimoto
83b22de944
Merge pull request #2888 from obfusk/fix-mktmpdir
...
core: Clean up temp dir used by fs_case_sensitive?
2014-01-27 09:26:43 -08:00
Mitchell Hashimoto
6cd79d67da
Merge pull request #2896 from mitchellh/f-provider-caps
...
Provider Capabilities
2014-01-26 14:37:15 -08:00
Mitchell Hashimoto
78e7e2746f
core: fix machine tests with provider changes
2014-01-26 14:33:22 -08:00
Mitchell Hashimoto
a924a7b48c
core: provider capabilities
2014-01-26 14:15:06 -08:00
Felix C. Stegerman
5c3555b56b
Clean up temp dir used by fs_case_sensitive?
2014-01-25 04:57:52 +01:00
Mitchell Hashimoto
0e9cac5b07
core: clear line with \033[K
2014-01-23 13:22:10 -08:00
Mitchell Hashimoto
00530303fb
core: color success Ui green
2014-01-23 13:15:07 -08:00
Mitchell Hashimoto
09955be2cd
provisioners/docker: configure auto start properly for new Docker
...
[GH-2874]
2014-01-21 20:52:27 -08:00
Mitchell Hashimoto
2b9e7ca14e
core: merge default synced folders ,don't override [GH-2873]
2014-01-21 20:13:08 -08:00
Mitchell Hashimoto
e80552b6aa
core: if synced folder type is blank, use default
2014-01-21 20:10:32 -08:00
Mitchell Hashimoto
d81af187ea
core: add tests for MachineReadable and frozen strings
2014-01-21 12:13:54 -08:00
Mitchell Hashimoto
06f1ebf752
core: add more tests for MachineReadable UI
2014-01-21 12:11:53 -08:00
Mitchell Hashimoto
f2f58655e8
core: get rid of more references to scope, old terminology
2014-01-21 12:06:04 -08:00
Mitchell Hashimoto
26366d0673
core: remove BasicScope class, not used anymore
2014-01-21 12:04:32 -08:00
Mitchell Hashimoto
7e9ea7c1c6
hosts/redhat: recognize Korora [GH-2869]
2014-01-21 09:50:20 -08:00
Mitchell Hashimoto
a32e154e6e
core: use cleaner UI abstractions
2014-01-20 17:18:36 -08:00
Mitchell Hashimoto
fc86a10796
core: only bold when output is part of a machine
2014-01-20 16:37:06 -08:00
Mitchell Hashimoto
714c690d8b
Merge pull request #2857 from mitchellh/f-ui-revamp
...
UI revamp
2014-01-20 16:22:36 -08:00
Mitchell Hashimoto
e1f5c025fd
website/www: blog posts on Vagrant stability
2014-01-20 12:43:04 -08:00
Mitchell Hashimoto
3c0b7d0b2b
Update CHANGELOG
2014-01-19 23:36:49 -08:00
Mitchell Hashimoto
838f8d441b
website/docs: clarify upgrade breakage is a bug
2014-01-19 23:36:12 -08:00
Mitchell Hashimoto
ab9a79e378
Merge pull request #2861 from morrizon/machine_readable_issue
...
commands/box-list: dup string if frozen when formatting output for machine.
2014-01-19 09:04:41 -08:00
Carlos López
8d1cc513ec
Fixed: dup string if frozen when formatting output for machine.
2014-01-19 14:34:32 +00:00
Mitchell Hashimoto
64649f8f1d
guests/coreos: restart etcd after configuring networks [GH-2852]
2014-01-18 11:05:29 -08:00
Mitchell Hashimoto
fbd8cfc628
hosts/gentoo: more robust check for systemctl path on Gentoo
2014-01-18 11:03:46 -08:00
Mitchell Hashimoto
663a942a93
Update CHANGELOG
2014-01-18 11:01:53 -08:00
Mitchell Hashimoto
c9a718d5c2
Merge pull request #2858 from timgus/gentoo_systemctl
...
hosts/gentoo: fix nonstandard path to systemctl command
2014-01-18 11:00:57 -08:00
Mitchell Hashimoto
3f62addac2
core: make output white for now
2014-01-17 21:53:17 -08:00
Mitchell Hashimoto
0eec9aa599
core: extensive tests for Vagrant::UI classes
2014-01-17 21:31:07 -08:00
Tim Gus
f0ec355a33
hosts/gentoo: fix nonstandard path to systemctl command
2014-01-18 00:13:54 -05:00
Mitchell Hashimoto
ac2ca2537d
core: Ui color should be red on errors, yellow on warnings
2014-01-17 21:03:05 -08:00
Mitchell Hashimoto
1b8f1a3864
core: convert more output to `output` method
2014-01-17 21:03:04 -08:00
Mitchell Hashimoto
f713e43b00
Fix tests for new UI methods
2014-01-17 21:03:02 -08:00
Mitchell Hashimoto
ea77194384
providers/virtualbox: more detailed output
2014-01-17 21:03:01 -08:00
Mitchell Hashimoto
5b449c8000
providers/virtualbox: many `detail` level output
2014-01-17 21:03:00 -08:00
Mitchell Hashimoto
b557ee5625
core: align text and make sure its all lined up with prefixes
2014-01-17 21:02:59 -08:00