Commit Graph

1615 Commits

Author SHA1 Message Date
Gilles Cornu 4e451c6e99 provisioners/ansible_local: fix #6763
Before this change, the detection of a non-existing path on the guest
machine was considered as an error and lead to interrupt the current vagrant
action. This was actually a mistake to do so, since the config checks
are performed before many other vagrant actions than `provision`.
The config.validate phase is also intended to primarily check the options
sanity, but it cannot be too strict with the guest state (which can easily
get "out of automatic control").

With this change, we still apply these checks (when possible), but only warn
about possible configuration problems. This way, the subsequent
statements will happen anyway (e.g. ansible commands will be
executed, vagrant machine will be destroyed, etc.)
2016-01-17 11:27:23 +01:00
Gilles Cornu e5e5057a06 update CHANGELOG for GH-6793 2016-01-14 00:12:24 +01:00
Gilles Cornu 1e38be237e provisioners/ansible: fix galaxy paths on Windows
Close #6757 and update previous fix for #6740 (#6741).

See also these places where the same regexp is used to address similar
"Windows cases":

 - ec85548bd6/plugins/provisioners/chef/provisioner/chef_solo.rb (L99-L103)
 - ec85548bd6/plugins/guests/windows/cap/rsync.rb (L6-L9)
2016-01-05 08:22:10 +01:00
Gilles Cornu 9a5597e1a7 Update CHANGELOG.md
ref #6741, #6740
2015-12-27 22:15:11 +01:00
Mitchell Hashimoto 984bc4ab77 up version for dev 2015-12-24 14:03:36 -08:00
Mitchell Hashimoto c1c00e2f3c v1.8.1 2015-12-24 13:26:53 -08:00
Mitchell Hashimoto 45212a9b67 core: avoid crash case with nil [GH-6730] 2015-12-24 12:38:14 -08:00
Mitchell Hashimoto cf4b03d701 core: do not convert drive letters to UNC paths [GH-6598] 2015-12-24 12:36:14 -08:00
Mitchell Hashimoto 39543973f1 update CHANGELOG 2015-12-24 12:29:57 -08:00
Mitchell Hashimoto 0de44a116b core: use env var for bundle retries [GH-6705] 2015-12-24 12:16:12 -08:00
Mitchell Hashimoto 05c2d439ac hosts/*: fix virtualbox install exception [GH-6713] 2015-12-24 12:08:31 -08:00
Mitchell Hashimoto 7133593a5f update CHANGELOG 2015-12-24 12:03:54 -08:00
Mitchell Hashimoto 6aa89584b8 update CHANGELOG 2015-12-22 13:31:13 -08:00
Seth Vargo 881bcf46de Update CHANGELOG 2015-12-22 11:56:59 -05:00
Mitchell Hashimoto 5328886423 update CHANGELOG 2015-12-21 13:12:19 -08:00
Gilles Cornu ddbd2a4cfc provisioners/ansible: prefer ssh '-i' argument
In cd93721, I relied on a suprising combination of quotes to protect ssh
execution to strip the quoted path to the private key file.
Since any ssh command line argument can be passed via
`ANSIBLE_SSH_ARGS`, it is quite more readable and easy to rely on the
`-i` argument, which is not affected like `-o IdentityFile=...` and also
supports multiple occurences.

See also http://sourceforge.net/p/fuse/mailman/message/30498048/

Finally fix #6671

Note that I decided to not squash both commits for better
documentation and traceability.
2015-12-16 10:29:13 +01:00
Gilles Cornu cd93721f8f provisioners/ansible: use quotes for the IdentityFile OpenSSH command line arguments
Surprisingly (to me at least), a simple quote enclosure was not enough
to fix the problem.

Caveat: the stringified ansible-playbook command logged in verbose mode
is wrongly formatted (no quotes are escaped).

Fix #6671
2015-12-16 09:54:53 +01:00
Mitchell Hashimoto ac3b24d93e Update CHANGELOG.md 2015-12-14 16:03:07 -08:00
Mitchell Hashimoto 6a9d25e384 Update CHANGELOG.md 2015-12-14 15:47:58 -08:00
Seth Vargo fa2db94b7d Update CHANGELOG 2015-12-10 11:26:57 -05:00
Gilles Cornu e5c5dfbacd Update CHANGELOG
- Fix reference to relevant pull request #6288
- See also #6649

[ci skip]
2015-12-08 22:11:30 +01:00
Seth Vargo af509e0a2b Update CHANGELOG 2015-12-08 11:17:11 -05:00
Seth Vargo c60a71861f Update CHANGELOG 2015-12-07 10:58:46 -05:00
Gilles Cornu c20e1bb594 provisioners/ansible: support host pattern ranges
Introduction of "unsafe" numeric or alphabetic patterns in the generated inventory

Close #3539
2015-12-05 07:11:27 +01:00
Gilles Cornu cc2d11b497 provisioners/ansible+ansible_local: inventory vars
Add support for group and host variables in the generated inventory.

Close #6619
2015-12-03 21:50:53 +01:00
Gilles Cornu 32bb316564 Update CHANGELOG.md
close #5086
2015-11-25 22:48:56 +01:00
Seth Vargo 6c40a8b66c Update CHANGELOG 2015-11-25 15:40:54 -05:00
Seth Vargo aa4dd7cd0e Update CHANGELOG 2015-11-23 20:25:09 -05:00
Seth Vargo 1fd3c955b7 Update CHANGELOG 2015-11-23 20:04:30 -05:00
Seth Vargo 2a6db90afd Update CHANGELOG 2015-11-23 19:39:13 -05:00
Seth Vargo 5ee7f805a8 Update CHANGELOG 2015-11-23 16:30:28 -05:00
Mitchell Hashimoto b23b48a614 providers/hyper-v: support more than one NIC [GH-4346] 2015-11-23 12:05:37 -08:00
Mitchell Hashimoto 601f7d41e5 synced_folders/smb: use cred files [GH-4230] 2015-11-23 11:11:50 -08:00
Gilles Cornu 1a541dc043 Update CHANGELOG
ref #6581 [ci skip]
2015-11-23 19:55:32 +01:00
Mitchell Hashimoto dbf419abad providers/virtualbox: ignore unknown status interfaces [GH-6061] 2015-11-23 10:15:32 -08:00
Mitchell Hashimoto 75faa43b7f Update CHANGELOG.md 2015-11-23 10:07:45 -08:00
Mitchell Hashimoto 1405395d81 core: catch EINVAL on setting env vars [GH-6017] 2015-11-23 09:39:51 -08:00
Mitchell Hashimoto 4e1ba3a027 core: fix file URLs from cygwin on Windows [GH-5747] 2015-11-23 09:30:27 -08:00
Gilles Cornu 43c4de3907 Update CHANGELOG
Close GH-2718
2015-11-21 05:25:40 +01:00
Mitchell Hashimoto c471f37955 core: parse line numbers for Vagrantfile syntax errors on Win [GH-6445] 2015-11-20 15:34:52 -08:00
Mitchell Hashimoto 978bca8b49 update CHANGELOG 2015-11-20 10:51:35 -08:00
Mitchell Hashimoto 2ade66443e core: retry bundler network calls a few times [GH-6097] 2015-11-19 23:57:16 -08:00
Mitchell Hashimoto 32f6accb25 commands/box: don't halt on metadata download failure [GH-6453] 2015-11-19 18:50:50 -08:00
Mitchell Hashimoto f69d9a6515 update CHANGELOG 2015-11-19 18:38:05 -08:00
Mitchell Hashimoto 240c393e69 update CHANGELOG 2015-11-19 18:20:16 -08:00
Seth Vargo 7f4d5c82de Update CHANGELOG 2015-11-19 17:07:49 -08:00
Seth Vargo 33d1bca02e Update CHANGELOG 2015-11-19 16:39:16 -08:00
Seth Vargo 6a147e1146 Update CHANGELOG 2015-11-19 16:22:03 -08:00
Mitchell Hashimoto a59dede676 update CHANGELOG 2015-11-19 16:18:57 -08:00
Mitchell Hashimoto e0ef592544 core: retry if server doesn't support byte ranges on download [GH-4479] 2015-11-19 16:14:13 -08:00