Commit Graph

1773 Commits

Author SHA1 Message Date
Mitchell Hashimoto 4e7aa4cc3c update CHANGELOG 2015-11-18 11:23:23 -08:00
Seth Vargo edffb130c3 Update CHANGELOG 2015-11-18 11:08:32 -08:00
Mitchell Hashimoto b916be4d74 update CHANGELGO 2015-11-18 11:06:09 -08:00
Mitchell Hashimoto d1baffe064 update CHANGELOG 2015-11-18 11:03:16 -08:00
Mitchell Hashimoto 495af24026 update CHANGELOG 2015-11-18 11:01:20 -08:00
Seth Vargo d7f296175e Update CHANGELOG 2015-11-18 10:54:34 -08:00
Mitchell Hashimoto e34af86acf commands/powershell 2015-11-18 10:46:17 -08:00
Gilles Cornu c6ef73a6fa Merge 'gildegoma/2103-ansible-local-v2'
Resolve conflict in CHANGELOG.md
2015-11-10 23:05:29 +01:00
Seth Vargo cfa0658cef Update CHANGELOG 2015-11-09 09:40:49 +00:00
Gilles Cornu 3e1e66a76b Update CHANGELOG.md
Close #2103
Close #5292
2015-11-08 14:15:51 +01:00
Gilles Cornu dde94a3ce7 provisioners/ansible: add force_remote_user option
The benefits of the following "breaking change" are the following:
- default behaviour naturally fits with most common usage (i.e. always
  connect with Vagrant SSH settings)
- the autogenerated inventory is more consistent by providing both the
  SSH username and private key.
- no longer needed to explain how to override Ansible `remote_user` parameters

Important: With the `force_remote_user` option, people still can fall
back to the former behavior (prior to Vagrant 1.8.0), which means that
Vagrant integration capabilities are still quite open and flexible.
2015-11-02 09:03:15 +01:00
Mitchell Hashimoto 8c8a70798d Update CHANGELOG.md 2015-10-12 15:50:47 -04:00
Seth Vargo 8ee97d5f81 Update CHANGELOG 2015-10-12 13:16:19 -04:00
Mitchell Hashimoto 6c55fef21d update CHANGELOG 2015-10-08 10:53:07 -04:00
Mitchell Hashimoto 169cacd710 update CHANGELOG 2015-10-06 16:24:02 -04:00
Mitchell Hashimoto a152045f81 update CHANGELOG 2015-10-01 17:06:56 -04:00
Gilles Cornu f3b31c8c9c Update CHANGELOG
@mitchellh @sethvargo: I hope it is okay for you that I started this new
entry, and I let you set the upcoming version.
2015-08-29 14:11:20 +02:00
Seth Vargo 8045869891 Update CHANGELOG 2015-07-27 11:03:49 -04:00
Mitchell Hashimoto 78ea5e4a78 v1.7.4 2015-07-17 12:38:51 -07:00
Mitchell Hashimoto bac5d039db providers/docker: pull setting, default false [GH-5932] 2015-07-15 11:08:01 -07:00
Mitchell Hashimoto f26293bb06 hosts/linux: sudo to copy back to exports [GH-5957] 2015-07-15 11:04:05 -07:00
Mitchell Hashimoto ce5a30b264 provisioners/puppet: fix config merging [GH-5958] 2015-07-15 10:59:34 -07:00
Mitchell Hashimoto 3476491881 update CHANGELOG 2015-07-15 10:57:38 -07:00
Mitchell Hashimoto 2ec7bf92e5 update CHANGELOG 2015-07-15 10:55:08 -07:00
Mitchell Hashimoto f08cb9f0a6 update CHANGELOG 2015-07-13 08:39:12 -07:00
Mitchell Hashimoto 9e2ab3b4c1 update CHANGELOG 2015-07-13 08:34:27 -07:00
Mitchell Hashimoto bfa829d89b update CHANGELOG 2015-07-13 08:32:49 -07:00
Mitchell Hashimoto efe62cfe2a up version for dev 2015-07-10 15:09:11 -06:00
Mitchell Hashimoto 3f7f85c076 v1.7.3 2015-07-10 12:47:42 -06:00
Seth Vargo beb5bce698 Update CHANGELOG 2015-07-10 11:54:20 -06:00
Gilles Cornu e932bc405e Update CHANGELOG [GH-5765]
[ci skip]
2015-07-10 08:51:17 +02:00
Seth Vargo 85d2a69f98 Update CHANGELOG 2015-07-09 17:07:15 -06:00
Gilles Cornu 94e26f45ec Update CHANGELOG
Close #5551
2015-07-10 00:56:12 +02:00
Mitchell Hashimoto dd625a9352 update CHANGELOG 2015-07-09 15:18:36 -06:00
Mitchell Hashimoto 3cd12b418c update CHANGELOG 2015-07-09 14:23:55 -06:00
Mitchell Hashimoto e9d8fa5f1c update CHANGELOG 2015-07-09 14:05:30 -06:00
Seth Vargo b49d25c56c Update CHANGELOG 2015-07-09 13:20:55 -06:00
Mitchell Hashimoto 05463ebe10 update CHANGELOG 2015-07-09 11:13:17 -06:00
Mitchell Hashimoto 425e9aa6cd update CHANGELOG 2015-07-09 10:03:07 -06:00
Mitchell Hashimoto c1508cd893 kernel/v2: customizable sudo_command [GH-5573] 2015-07-09 09:30:47 -06:00
Mitchell Hashimoto 536ea0729b providers/virtualbox: name for private network chooses right interface
[GH-5389]
2015-07-08 18:35:44 -06:00
Mitchell Hashimoto 5f121c44e2 update CHANGELOG 2015-07-08 16:08:51 -06:00
Mitchell Hashimoto 526a818073 update CHANGELOG 2015-07-08 15:44:47 -06:00
Mitchell Hashimoto 1c203405d2 providers/docker: fix crash if host VM file can't be foundJ:wq
gs
2015-07-08 12:31:24 -06:00
Mitchell Hashimoto c2cae80de5 providers/dock: pull image prior to starting 2015-07-08 10:09:15 -06:00
Gilles Cornu 839a2e6fa6 provisioners/ansible: show ansible-playbook only when the verbose option is enabled
Revert 1c884fa4e5 which introduced the
following bug:

Instead of allowing to dump the `ansible-playbook` command details when
VAGRANT_LOG=debug was defined, it was then impossible to disable this
console output when VAGRANT_LOG was undefined (in such case,
``@logger.debug? systematically returns `true`)

In order to keep things simple and focused, it is preferable to drop the
bad idea to mix Ansible verbosity and Vagrant log level.

Fix #5803
2015-07-07 22:37:06 +02:00
Mitchell Hashimoto 9c7f666e48 provisioners/docker: support restart flag [GH-4477] 2015-07-07 12:17:24 -06:00
Mitchell Hashimoto a3b3e3ffeb update CHANGELOG 2015-07-06 23:42:36 -06:00
Mitchell Hashimoto e4db962073 update CHANGELOG 2015-07-06 18:23:01 -06:00
Mitchell Hashimoto 341534299d core: ssh private_key_path overwrites insecure key [GH-5632] 2015-07-06 16:17:54 -06:00
Mitchell Hashimoto d89d4341e0 update CHANGELOG 2015-07-06 15:34:50 -06:00
Mitchell Hashimoto 12e3981b50 update CHANGELOG 2015-07-06 15:28:46 -06:00
Mitchell Hashimoto 7319673ed6 update CHANGELOG 2015-07-06 15:27:24 -06:00
Mitchell Hashimoto 1570f98c5c update CHANGELOG 2015-07-06 15:25:48 -06:00
Mitchell Hashimoto 763accd761 update CHANGELOG 2015-07-06 15:22:31 -06:00
Mitchell Hashimoto c76a9c880d update CHANGELOG 2015-07-06 15:20:31 -06:00
Mitchell Hashimoto 0001ad9a75 update CHANGELOG 2015-07-06 15:16:30 -06:00
Mitchell Hashimoto 8055f7829f update CHANGELOG 2015-07-06 15:11:39 -06:00
Mitchell Hashimoto 79115d1ccc core: retry SSH keygen on RSAError [GH-5056]
/cc @sethvargo
2015-07-06 14:44:23 -06:00
Mitchell Hashimoto 2fc8d99f6d provisioners/file: validate source relative to Vagrantfile path
[GH-5252]
2015-07-06 14:22:00 -06:00
Mitchell Hashimoto e759df11a0 core: fix crash for missing options [GH-5550] 2015-07-06 10:36:41 -06:00
Mitchell Hashimoto 262b50bc02 guests/linux: fix exception when printf is empty [GH-5846] 2015-07-05 17:14:48 -07:00
Mitchell Hashimoto 67c14c4889 guests/openbsd: add newline after insert_public_key [GH-5881] 2015-07-05 17:10:10 -07:00
Mitchell Hashimoto 36fa04fd1e providers/virtualbox: catch subprocess launch error [GH-1483] 2015-07-05 17:01:06 -07:00
Seth Vargo 28a42122b8 Update CHANGELOG 2015-06-10 09:15:37 -04:00
Seth Vargo e071ce4663 Update CHANGELOG 2015-06-02 18:14:27 -04:00
Seth Vargo 9b4a498f82 Update CHANGELOG 2015-06-02 17:07:41 -04:00
Seth Vargo f48b704ba0 Update CHANGELOG 2015-05-31 20:45:37 -07:00
Seth Vargo f1928959dc Update CHANGELOG 2015-05-31 20:34:57 -07:00
Seth Vargo 99e0cac237 Update CHANGELOG 2015-05-31 20:32:09 -07:00
Seth Vargo d7283277cf Update CHANGELOG 2015-05-31 20:20:15 -07:00
Seth Vargo 06fe7163d2 Update CHANGELOG 2015-05-31 20:11:11 -07:00
Seth Vargo 50b78b6039 Update CHANGELOG 2015-05-31 20:09:30 -07:00
Seth Vargo 655d1adf6f Update CHANGELOG 2015-05-31 19:08:10 -07:00
Seth Vargo ece8e858a6 Update CHANGELOG 2015-05-31 18:40:05 -07:00
Seth Vargo e9b11b4ee4 Update CHANGELOG 2015-05-31 10:19:27 -07:00
Seth Vargo be2b6d620e Update CHANGELOG 2015-05-31 09:35:47 -07:00
Seth Vargo ebb6fa5a6f Update CHANGELOG 2015-05-30 21:44:57 -07:00
Seth Vargo 30308f7b53 Update CHANGELOG 2015-05-30 21:41:06 -07:00
Seth Vargo 8cdd6e2e12 Update CHANGELOG 2015-05-30 21:35:29 -07:00
Seth Vargo ce8dd0c5f0 Update CHANGELOG 2015-05-30 21:32:28 -07:00
Seth Vargo d8e929cfdb Update CHANGELOG 2015-05-30 21:27:53 -07:00
Seth Vargo b19f5f8df7 Update CHANGELOG 2015-05-30 21:22:01 -07:00
Seth Vargo 6bfee51389 Update CHANGELOG and docs for Puppet 4 environments support 2015-05-30 21:17:28 -07:00
Seth Vargo 3ea90b1618 Update CHANGELOG 2015-05-30 20:58:16 -07:00
Seth Vargo 4b07c551ac Update CHANGELOG 2015-05-30 12:49:38 -07:00
Seth Vargo 97420a04a9 Update CHANGELOG 2015-05-30 12:36:29 -07:00
Seth Vargo 017e61541a Update CHANGELOG 2015-05-30 12:34:42 -07:00
Seth Vargo 571b6ba7e6 Update CHANGELOG 2015-05-30 12:32:50 -07:00
Seth Vargo e46060c494 Update CHANGELOG 2015-05-30 12:19:56 -07:00
Seth Vargo 22eacd3f23 Merge pull request #5735 from chrisbaldauf/patch-1
Update CHANGELOG.md
2015-05-30 12:10:11 -07:00
Seth Vargo 434483dc07 Update CHANGELOG 2015-05-30 12:09:34 -07:00
Seth Vargo 5597b82315 Update CHANGELOG 2015-05-30 12:08:46 -07:00
Seth Vargo 5fb996c6b5 Update CHANGELOG 2015-05-30 12:05:57 -07:00
Seth Vargo d21abb05ac Update CHANGELOG 2015-05-30 12:04:39 -07:00
Seth Vargo 5a86a9d8df Update CHANGELOG 2015-05-30 12:03:10 -07:00
Seth Vargo b5d7559025 Update CHANGELOG 2015-05-30 11:59:42 -07:00
Seth Vargo 105cc46457 Update CHANGELOG 2015-05-30 11:58:44 -07:00
Seth Vargo a775ecf9b8 Update CHANGELOG 2015-05-30 11:57:48 -07:00
Seth Vargo 7e0ca7bb2c Update CHANGELOG 2015-05-30 11:56:02 -07:00
Seth Vargo c8733ac44a Update CHANGELOG 2015-05-30 11:53:34 -07:00
Seth Vargo a6bfa80d5e Update CHANGELOG 2015-05-30 11:52:24 -07:00
Seth Vargo f6ef5e4804 Update CHANGELOG 2015-05-30 11:51:34 -07:00
Seth Vargo 8f8279c5bc Update CHANGLEOG 2015-05-30 11:47:45 -07:00
Seth Vargo 475efb1607 Update CHANGELOG 2015-05-30 11:45:45 -07:00
Seth Vargo 9adf6683de Update CHANGELOG 2015-05-30 11:43:15 -07:00
Seth Vargo b73415e84d Update CHANGELOG 2015-05-30 11:40:27 -07:00
Seth Vargo 8c3eaae09e Update CHANGELOG 2015-05-30 11:02:01 -07:00
Chris Baldauf 7b36252dd2 Update CHANGELOG.md
Change file to folder based on what I expect it should read.
2015-05-19 14:55:25 -04:00
Seth Vargo 1cf2a8db4c Update CHANGELOG 2015-05-06 14:07:27 -07:00
Seth Vargo 6172bb5abe Update CHANGELOG 2015-04-20 18:17:57 -04:00
Seth Vargo fa3efaa866 Update CHANGELOG 2015-04-02 10:12:20 -04:00
Seth Vargo 91752bcd1a Update CHANGELOG 2015-03-30 10:18:38 -04:00
Mitchell Hashimoto 4f44ae5379 providers/virtualbox: interpolation added to error [GH-5308] 2015-02-24 10:48:59 -08:00
Mitchell Hashimoto c1e2d36090 provisioners/chef: use command -v to check for binary [GH-5167] 2015-02-24 10:11:05 -08:00
Mitchell Hashimoto e9b00972b0 update CHANGELOG 2015-02-24 10:06:53 -08:00
Mitchell Hashimoto 8a0852534b update CHANGELOG 2015-02-24 10:05:39 -08:00
Mitchell Hashimoto be22e7f10a update cHANGELOG 2015-02-24 10:03:51 -08:00
Mitchell Hashimoto 4399539ba5 update CHANGELOG 2015-02-24 10:00:26 -08:00
Mitchell Hashimoto 3f5d4698ce update CHANGELOG 2015-02-24 09:58:40 -08:00
Mitchell Hashimoto 3db5ad406a update CHANGELOG 2015-02-24 09:50:36 -08:00
Mitchell Hashimoto 3c5e057177 update CHANGELOG 2015-02-24 09:48:26 -08:00
Mitchell Hashimoto ae69ada165 update CHANGELOG 2015-02-24 09:47:40 -08:00
Mitchell Hashimoto 44df53844a update CHANGELOG 2015-02-24 09:46:16 -08:00
Mitchell Hashimoto 1c15a6d31e update cHANGELOG 2015-02-24 09:45:28 -08:00
Mitchell Hashimoto c4f00cc2c2 update CHANGELOG 2015-02-24 09:44:00 -08:00
Mitchell Hashimoto 91bfacca4a update CHANGELOG 2015-02-24 09:37:07 -08:00
Mitchell Hashimoto ad1c462127 update CHANGELOG 2015-02-24 09:27:02 -08:00
Mitchell Hashimoto 8b2f9e184a update CHANGELOG 2015-02-24 09:26:34 -08:00
Mitchell Hashimoto 752adb5235 update CHANGELOG 2015-02-24 09:21:16 -08:00
Seth Vargo 09724ec336 Update CHANGELOG 2015-02-16 11:33:51 -05:00
Seth Vargo b2c722ef54 Update CHANGELOG 2015-02-04 13:30:24 -05:00
Mitchell Hashimoto ef7cf679dc Revet CHANGELOG 2015-02-03 06:40:16 +01:00
Seth Vargo bc7272b96d Update CHANGELOG 2015-02-02 19:38:02 -05:00
Paul Hinze d023408f78 Update CHANGELOG 2015-01-21 17:25:55 -08:00
Seth Vargo 86d27528b3 Update CHANGELOG 2015-01-21 16:05:51 -05:00
Seth Vargo 3c6c496bb0 Update CHANGELOG 2015-01-20 11:25:00 -05:00
Seth Vargo bb700efe40 Update CHANGELOG 2015-01-20 09:59:14 -05:00
Seth Vargo 61e501b2c1 Update CHANGELOG 2015-01-20 09:55:09 -05:00
Seth Vargo 48bf346c9b Update CHANGELOG 2015-01-14 11:54:40 -05:00
Gilles Cornu 9874a0db5f Fix a second typo error in CHANGELOG !!
Close #5018

[ci skip]
2015-01-12 11:01:07 +01:00
Gilles Cornu 28e0646dc2 Fix typo error in CHANGELOG
Close #4860

[ci skip]
2015-01-12 10:59:07 +01:00
Gilles Cornu 2ecad8bb93 provisioners/ansible: increase connection timeout
This change helps to avoid troubles like reported in #5018 and #4860.

Note that for sake of configuration simplicity, no new `ansible.timeout`
option has been added. The users who want to set a different value can
rely on `ansible.raw_arguments`.
2015-01-12 10:54:01 +01:00
Gilles Cornu c3cae3d235 provisioners/ansible: add `IdentitiesOnly=yes`
This SSH option is always set, except when Vagrant is running from an
operating system fo the Solaris-family, as this parameter is not
supported by SunSSH. Logic taken from
bed1f8335f/lib/vagrant/util/ssh.rb (L116-L121)

Fix #5017
2015-01-12 08:58:29 +01:00
Seth Vargo 49d1a92bf6 Update CHANGELOG 2015-01-09 13:34:33 -05:00
Seth Vargo e1e192b90a Update CHANGELOG 2015-01-07 16:14:51 -05:00
John Claus 57ff0f9c87 Fixed typos 2015-01-06 17:22:24 -07:00
Seth Vargo 7cfc9e5e9c Update CHANGELOG 2015-01-06 16:53:28 -05:00
Mitchell Hashimoto 486cd0ce4c up version for dev 2015-01-06 13:49:54 -08:00
Mitchell Hashimoto 1cd667b243 Update CHANGELOG 2015-01-06 13:42:26 -08:00
Mitchell Hashimoto c6205da864 v1.7.2 2015-01-06 12:51:11 -08:00
Mitchell Hashimoto ef18409e60 update CHANGELOG 2015-01-06 11:08:08 -08:00
Mitchell Hashimoto 52ff661d31 update CHANGELOG 2015-01-05 21:09:18 -08:00
Mitchell Hashimoto e72a97d107 update CHANGELOG 2015-01-05 21:09:00 -08:00
Mitchell Hashimoto 79873cdb44 communicators/winrm: detect parse errors in powershell and error
/cc @sneal - Any better way to do this?
2015-01-05 16:53:17 -08:00
Seth Vargo 57e7633c4d Update CHANGELOG 2015-01-05 19:09:00 -05:00
Seth Vargo cee834ddf3 Update CHANGELOG for atlas logging 2015-01-05 16:14:07 -05:00
Mitchell Hashimoto ee70294d23 update CHANGELOG 2015-01-05 11:45:46 -08:00
Mitchell Hashimoto 4849ec8f7c guests/solaris: merge config properly [GH-5092] 2015-01-05 09:52:19 -08:00
Mitchell Hashimoto 30f579f92d update CHANGELOG 2015-01-05 09:50:25 -08:00
Mitchell Hashimoto adff98528b update cHANGELOG 2015-01-05 09:44:59 -08:00
Seth Vargo c088250729 Update CHANGELOG for packaging fixes 2015-01-05 11:13:33 -05:00
Seth Vargo 56a8adb7a3 Update CHANGELOG for ftp push fixes 2015-01-04 22:57:02 -05:00
Mitchell Hashimoto 5903bfb3c6 commands/push: validate configuration
/cc @sethvargo - Some weirdness here but overall should work fine. I'm
not sure if there was a GH issue this should be attached to or close. To
explain:

We just use the first machine with the default provider. A
Vagrant::Environment guarantees there is at least one machine, so
`env.machine_names.first` will always work. And we can just use the
default provider because we don't really care. Finally, it can be any
old machine we pass in because we just want the "global" config to
validate and there is no way to say "don't validate machine-specific
configs", so we might as well just pick the first machine to validate.
2015-01-04 15:43:30 -08:00
Seth Vargo 2409049b76 Add solo.rb fixes to CHANGELOG 2014-12-15 01:16:29 -05:00
Mitchell Hashimoto b72d0213ba Update CHANGELOG.md 2014-12-14 22:04:41 -08:00
Seth Vargo d9943e4496 Add Salt grains to CHANGELOG 2014-12-14 23:50:11 -05:00
Seth Vargo 09a5d15045 Add push fix to CHANGELOG 2014-12-14 23:41:51 -05:00
Mitchell Hashimoto a4d05c8071 Update CHANGELOG.md 2014-12-13 13:31:00 -08:00
Mitchell Hashimoto fdd7bc3ffd commands/login: append access token to vagrantcloud => atlas URLs 2014-12-12 14:53:05 -08:00
Mitchell Hashimoto f204fa64b7 up version for dev 2014-12-12 14:48:53 -08:00
Mitchell Hashimoto a3abdadc1c Update CHANGELOG 2014-12-11 17:25:09 -08:00
Mitchell Hashimoto 90a12ee476 Update CHANGELOG 2014-12-11 17:25:09 -08:00
Mitchell Hashimoto e212b31394 Merge pull request #4905 from mitchellh/gc-fix-docker-agent-forwarding
providers/docker: fix support of agent forwarding
2014-12-11 17:21:59 -08:00
Mitchell Hashimoto a3a41fe3bc Merge pull request #4906 from mitchellh/gc-4071-docker-ansible
provisioners/ansible: use Docker proxy when needed
2014-12-11 17:20:41 -08:00
Mitchell Hashimoto ae7fc545e1 v1.7.0 2014-12-09 19:32:36 -08:00
Mitchell Hashimoto 2b8489f205 update CHANGELOG 2014-12-09 16:23:06 -08:00
Mitchell Hashimoto 02a615a646 Merge remote-tracking branch 'upcoming/master' 2014-12-09 16:18:18 -08:00
Seth Vargo d8b73fc319 Add changelog entry for vagrant-login 2014-12-09 10:14:32 -08:00
Gilles Cornu 118e223c33 provisioners/ansible: use Docker proxy when needed
Close #4071

Credits and best thanks to @jabclab
2014-12-08 21:43:21 +01:00
Gilles Cornu 0a64b0c4e1 Update CHANGELOG: fix docker agent forwarding
Ref GH-4905
2014-12-07 11:14:21 +01:00
Gilles Cornu f96636587a provisioners/ansible: don't read/write known_hosts
Like Vagrant's default SSH behaviors (e.g ssh or ssh-config commands),
the Ansible provisioner should by default not modify or read the user
known host file (e.g. ~/.ssh/known_hosts).

Given that `UserKnownHostsFile=/dev/null` SSH option is usually combined
with `StrictHostKeyChecking=no`, it seems quite reasonable to bind the
activation/disactivation of both options to `host_key_checking`
provisioner attribute.

For the records, a discussion held in Ansible-Development mailing list
clearly confirmed that there is no short-term plan to adapt Ansible to
offer an extra option or change the behavior of
ANSIBLE_HOST_KEY_CHECKING. For this reason, the current implementation
seems reasonable and should be stable on the long run.

Close #3900

Related References:

- https://groups.google.com/forum/#!msg/ansible-devel/iuoZs1oImNs/6xrj5oa1CmoJ
- https://github.com/ansible/ansible/issues/9442
2014-11-30 09:55:48 +01:00
Gilles Cornu 178942cf27 provisioners/ansible: change arguments arrangement
- force `--connection=ssh` (any other modes like paramiko or smart are not
  supported)
- give the highest priority to `raw_arguments` for sake of simplicity (in
  usage, in code and in documentation)
- fix position of the `--limit` argument (the generated inventory could be
  shadowed by `raw_arguments`, while ansible.limit was able to override
  `raw_arguments`

ref #3396
2014-11-30 09:50:50 +01:00
Gilles Cornu 306c4f7eda provisioners/ansible: force --connection=ssh
When `--connection` argument is not specified, Ansible will use the
'smart' mode, which can either use `ssh` or `paramiko` transports,
depending of the version of OpenSSH available. If OpenSSH version is new
enough to support ControlPersist technology, `ssh` will be used.
See also http://docs.ansible.com/intro_configuration.html#transport.

In order to support some advanced features of Vagrant (e.g. multiple ssh
private key identities or ssh forwarding), the Ansible provisioner
already must force `ssh` connection mode.

Having to deal with the possible fallback to `paramiko` increase the
burden of special cases that Ansible provisioner must handle, without
any added value, as Vagrant is based on OpenSSH and its users are
usually using modern operating systems.

With this change, the Ansible provisioner will officially only support
`ssh`. It will still be possible to switch to another connection mode
via `raw_arguments`, but it will breach the "contract", and no
(community) support can be expected in such use case.

ref #3900, #3396
2014-11-30 09:50:50 +01:00
Gilles Cornu 1c884fa4e5 provisioners/ansible: Show Ansible command when VAGRANT_LOG=debug 2014-11-25 08:12:43 +01:00
Seth Vargo 39ab4f520b Update CHANGELOG 2014-11-10 19:40:58 -05:00
Seth Vargo f37aecea99 Update CHANGELOG with auto-installing Chef 2014-11-07 15:56:22 -05:00
Seth Vargo 96bf296dd8 Add Chef Apply and Chef Client to CHANGELOG 2014-10-30 18:23:21 -04:00
Mitchell Hashimoto 7b5e5668c5 core: add option to not lock for Machine#action [GH-4574] 2014-10-24 15:47:37 -07:00
Mitchell Hashimoto adf7c17e65 Update CHANGELOG 2014-10-24 14:39:59 -07:00
Mitchell Hashimoto ea983e32c8 hosts/*: NFS prune regexp matches file paths [GH-3815] 2014-10-24 12:16:53 -07:00
Mitchell Hashimoto b82d3c0990 Update CHANGELOG 2014-10-24 10:39:12 -07:00
Mitchell Hashimoto 37a4000722 providers/virtualbox: more descriptive error if empty version [GH-4657] 2014-10-24 09:20:08 -07:00
Mitchell Hashimoto a7d3458abc provisioners/shell: retry getting SSH info a few times [GH-3924] 2014-10-23 22:48:48 -07:00
Mitchell Hashimoto fbd568a03e core: load ".vagrantplugins" in root path [GH-3775] 2014-10-23 19:58:57 -07:00
Mitchell Hashimoto a998e0c3b8 update CHANGELOG 2014-10-23 19:04:41 -07:00
Mitchell Hashimoto aa981cf4ec hosts/bsd: only use sudo if we can't write /etc/exports [GH-2643] 2014-10-23 17:43:58 -07:00
Mitchell Hashimoto 93fe4b7c7b Update CHANGELOG 2014-10-23 16:01:18 -07:00
Mitchell Hashimoto ad758bf69a core: prefer providers in the Vagrantfile [GH-3812] 2014-10-23 15:32:54 -07:00
Mitchell Hashimoto b656bf4ae5 providers/docker: build output [GH-3739] 2014-10-23 15:03:09 -07:00
Mitchell Hashimoto f0a73c7c05 core: call #state in any #action call [GH-4513] 2014-10-23 12:20:16 -07:00
Mitchell Hashimoto f23c5ebc46 commands/plugin: list puts plugin namein machine readable output
[GH-4506]
2014-10-23 12:00:46 -07:00
Mitchell Hashimoto 06defb37c7 commands/up: if all machines autostart:false, start none [GH-4552] 2014-10-23 11:46:22 -07:00
Mitchell Hashimoto 4827469dee core: recognize more complex content types for json [GH-4525] 2014-10-23 11:26:56 -07:00
Mitchell Hashimoto 46b3ea64d1 core: retry download without continue if byte range not supported
[GH-4479]
2014-10-23 11:06:29 -07:00
Mitchell Hashimoto 2856df79ac core: Vagrant.has_plugin? can take version requirements [GH-4650] 2014-10-23 10:52:02 -07:00
Mitchell Hashimoto c852d82b61 Update CHANGELOG 2014-10-23 10:20:23 -07:00
Mitchell Hashimoto 1c224dc4dc Update CHANGELOG 2014-10-23 10:19:27 -07:00
Mitchell Hashimoto d04ec704c1 update CHANGELOG 2014-10-23 10:12:27 -07:00
Mitchell Hashimoto a98c8d263f Update CHANGELOG 2014-10-23 10:09:47 -07:00
Mitchell Hashimoto 4c0aa0d9cb update CHANGELOG 2014-10-23 10:04:58 -07:00
Mitchell Hashimoto 776810ff27 Update cHANGELOG 2014-10-23 09:57:59 -07:00
Mitchell Hashimoto cd987154bb Update CHANGELOG 2014-10-23 09:56:37 -07:00
Mitchell Hashimoto 971af4fda0 Update CHANGELOG 2014-10-23 09:55:45 -07:00
Mitchell Hashimoto 3f01a99148 provisioners/shell: rename shell_args to powershell-args 2014-10-23 09:53:14 -07:00
Mitchell Hashimoto 02b93f049a Update CHANGELOG 2014-10-23 09:49:13 -07:00
Mitchell Hashimoto 472bc72499 Update cHANGELOG 2014-10-23 09:46:01 -07:00
Mitchell Hashimoto abb9e5478a provisioners/docker: get GPG key via SSL [GH-4597] 2014-10-23 09:34:24 -07:00
Mitchell Hashimoto b063c0ae05 Update CHANGELOG 2014-10-23 09:22:39 -07:00
Mitchell Hashimoto 8fa7e72dcf Update CHANGELOG 2014-10-23 09:20:45 -07:00
Mitchell Hashimoto b025bdd836 Update CHANGELOG 2014-10-23 09:19:27 -07:00
Mitchell Hashimoto 5036d16461 update CHANGELOG 2014-10-23 09:15:47 -07:00
Mitchell Hashimoto 4e0d3c0202 Update CHANGELOG 2014-10-23 09:13:08 -07:00
Mitchell Hashimoto 1df33150b5 update cHANGELOG 2014-10-23 09:11:40 -07:00
Mitchell Hashimoto f8def676ab Update CHANGELOG 2014-10-23 09:07:27 -07:00
Mitchell Hashimoto 6393346fa8 Update CHANGELOG 2014-10-22 22:04:28 -07:00
Mitchell Hashimoto 4e9c82f364 core: ignore capability error [GH-4684] 2014-10-22 21:10:36 -07:00
Mitchell Hashimoto 1e6259dd00 providers/docker: set preparing set to avoid data dir clear [GH-3873] 2014-10-22 20:52:08 -07:00
Mitchell Hashimoto 62fa97f334 uPdate CHANGELOG 2014-10-22 20:34:03 -07:00
Mitchell Hashimoto 81b9c2e9d2 Fix styling in CHANGELOG 2014-10-22 16:28:54 -07:00
Mitchell Hashimoto 0e29dd5668 commands/rsync: handle proxy machines [GH-4066] 2014-10-22 16:17:39 -07:00
Mitchell Hashimoto 296d0639cc providers/docker: support auth [GH-4042] 2014-10-22 13:12:31 -07:00
Mitchell Hashimoto cff57c8d01 core: trigger machine_id_changed for reload [GH-3963] 2014-10-22 12:07:49 -07:00
Mitchell Hashimoto 1ee46d3c95 providers/docker: check proper state for docker-logs [GH-3990] 2014-10-22 11:20:00 -07:00
Mitchell Hashimoto 9c23e4d9cb providers/docker: expand vagrant_vagrantfile [GH-4000] 2014-10-22 11:02:26 -07:00
Mitchell Hashimoto 59fe62ec11 providers/docker: public_address reports host machine addr [GH-4342] 2014-10-22 10:37:32 -07:00
Mitchell Hashimoto 57a1269e35 providers/docker: read the container ID properly 2014-10-22 09:33:57 -07:00
Mitchell Hashimoto 7ccec33460 providers/virtualbox: define a sync_folders action to setup NFS
[GH-4344]
2014-10-22 09:26:38 -07:00
Mitchell Hashimoto 9d4ab18f42 providers/docker: stop_timeout [GH-4504] 2014-10-21 17:50:45 -07:00
Mitchell Hashimoto e749eaa039 providers/docker: more robustly detect built image [GH-4598] 2014-10-21 17:44:48 -07:00
Mitchell Hashimoto fb1a825c0d providers/docker: host IP and protocol is respected [GH-4505] 2014-10-21 17:17:34 -07:00
Mitchell Hashimoto 5228437b30 providers/docker: nicer error if package is called [GH-4595] 2014-10-21 17:04:46 -07:00
Mitchell Hashimoto 5ebd10c19c communicators/ssh: timeout on connection check 2014-10-21 17:00:05 -07:00
Mitchell Hashimoto 7f432422e1 providers/docker: properly copy create_args in config [GH-4526] 2014-10-21 16:39:26 -07:00
Mitchell Hashimoto 18c76f0a86 provisioners/docker: search for Docker in multiple paths [GH-4580] 2014-10-21 16:19:02 -07:00
Mitchell Hashimoto 58f7310444 providers/virtualbox: detect conflict in name [GH-4681] 2014-10-21 15:56:32 -07:00
Mitchell Hashimoto de408dafbf Update CHANGELOG 2014-10-18 16:13:59 -07:00
Mitchell Hashimoto c38e17cc29 v1.6.5 2014-09-04 14:21:10 -07:00
Mitchell Hashimoto 8655d212c3 kernel/v2: always forward SSH [GH-4437] 2014-09-04 14:19:47 -07:00
Mitchell Hashimoto b8aaac893d Update CHANGELOG 2014-09-04 14:13:07 -07:00
Mitchell Hashimoto 2fb532d175 Update CHANGELOG 2014-09-04 14:10:37 -07:00
Mitchell Hashimoto 2fea07f92d v1.6.4 2014-09-02 11:47:21 -07:00
Mitchell Hashimoto ba41ab956c Update CHANGELOG 2014-08-31 10:51:42 -07:00
Mitchell Hashimoto 41f4ec1e4d guests/redhat: set hostname on EL7 [GH-4352] 2014-08-31 09:58:12 -07:00
Mitchell Hashimoto a54f2dc539 command/rsync-auto: add --poll flag [GH-4392] 2014-08-31 09:54:37 -07:00
Mitchell Hashimoto de71e269fa Update CHANGELOG 2014-08-30 23:16:13 -07:00
Mitchell Hashimoto 083dce5c61 Revert "core: guard against SSH to localhost:22 [GH-4070]"
This reverts commit 62561f2844.

This broke WinRM. Will fix in a future version.
2014-08-30 22:55:13 -07:00
Mitchell Hashimoto f4ee4764bb guests/redhat: configure networks properly on EL7 [GH-4195] 2014-08-30 22:49:13 -07:00
Mitchell Hashimoto 6074a63683 guests/redhat: install Docker on EL7 properly [GH-4402] 2014-08-30 22:44:48 -07:00
Mitchell Hashimoto 8d31923b1a Update CHANGELOG 2014-08-30 22:24:08 -07:00
Mitchell Hashimoto a0b95cb927 core: content-type is case insensitive for metadata check [GH-4369] 2014-08-29 11:27:50 -07:00
Mitchell Hashimoto b4345968a5 providers/docker: SSH extra args go to Docker container [GH-4378] 2014-08-29 11:11:53 -07:00
Mitchell Hashimoto 5eaa8ca597 Update CHANGELOG 2014-08-29 10:29:40 -07:00
Mitchell Hashimoto d1d8ce7d52 core: vagrant provision triggers sentinel creation [GH-4393] 2014-08-29 10:26:44 -07:00
Mitchell Hashimoto bf75dc16e4 Update CHANGELOG 2014-08-29 09:55:12 -07:00
Mitchell Hashimoto c5ed3b97d1 Update CHANGELOG 2014-08-29 09:53:50 -07:00
Mitchell Hashimoto 533ced5b48 Update CHANGELOG 2014-08-29 09:51:03 -07:00
Mitchell Hashimoto 22438a481c Update CHANGELOG 2014-08-29 09:49:38 -07:00
Mitchell Hashimoto 138aa5aad3 communicators/ssh: cleanup PTY code for GH-4408] 2014-08-29 09:41:35 -07:00
Mitchell Hashimoto b42e9aef23 guests/linux: more verbose output when shared folder mount fails
[GH-4403]
2014-08-29 08:27:48 -07:00
Mitchell Hashimoto 023ed006bf core: better bundler errors 2014-08-29 08:20:21 -07:00
Mitchell Hashimoto c830b52719 Update CHANGELOG 2014-08-29 07:40:54 -07:00
Veres Lajos 4ef996dca9 typofixes - https://github.com/vlajos/misspell_fixer 2014-08-25 20:12:25 +01:00
Mitchell Hashimoto b675be383b core: disallow brackets in VM names [GH-4319] 2014-08-10 21:05:29 -07:00
Mitchell Hashimoto e198652e75 core: don't load curlrc [GH-4328] 2014-08-10 20:49:53 -07:00
Mitchell Hashimoto 9c24205432 Update CHANGELOG 2014-08-10 20:42:53 -07:00
Mitchell Hashimoto c4c76112e3 Update CHANGELOG 2014-08-10 20:34:51 -07:00
Mitchell Hashimoto 24392306ed Update CHANGELOG 2014-08-08 18:25:25 -07:00
Mitchell Hashimoto 8bee751898 commands/reload: show post-up message [GH-4168] 2014-08-08 17:40:07 -07:00
Mitchell Hashimoto 04835ae612 core: clean up Bundler tempfiles [GH-4103] 2014-08-08 16:48:53 -07:00
Mitchell Hashimoto 15f1823d5c core: box names with colons work on Windows [GH-4100] 2014-08-08 14:47:17 -07:00
Mitchell Hashimoto 62561f2844 core: guard against SSH to localhost:22 [GH-4070] 2014-08-08 11:58:53 -07:00
Mitchell Hashimoto 7cce4cbc90 core: lock machine action on VF name too [GH-4065] 2014-08-08 11:39:49 -07:00
Mitchell Hashimoto ae1a03903e providers/virtualbox: error if can't read VM name [GH-4047] 2014-08-08 10:49:07 -07:00
Mitchell Hashimoto 0da5d7b650 communicators/ssh: clean error on max session [GH-4044] 2014-08-08 09:11:25 -07:00
Mitchell Hashimoto 5ed0b22c78 communicators/ssh: cleaner error if remote disconnect [GH-4038] 2014-08-07 11:53:44 -07:00
Mitchell Hashimoto a08d9078da commands/rsync-auto: check machine ID prior to sync [GH-4031] 2014-08-06 16:56:09 -07:00
Mitchell Hashimoto 1428ab0404 providers/docker: single port works [GH-3991] 2014-08-06 15:34:41 -07:00
Mitchell Hashimoto ac0d213c9b core: fix crash case with provisioners [GH-4281] 2014-08-06 13:00:29 -07:00
Mitchell Hashimoto 145af54cec core: preserve downloaded file in more cases [GH-4301] 2014-08-06 11:23:02 -07:00
Mitchell Hashimoto 00bd226fc7 guests/nixos: don't detect as Windows [GH-4302] 2014-08-06 11:17:41 -07:00
Mitchell Hashimoto b516881d47 provisioners/puppet: don't repeat output when prov fails [GH-4303] 2014-08-06 11:11:12 -07:00
Mitchell Hashimoto 1cc78dc224 provisioners/salt: use exit code to detect failure [GH-4304] 2014-08-06 11:07:09 -07:00
Mitchell Hashimoto ef2cd4ed18 UPdate CHANGELOG 2014-08-06 10:48:32 -07:00
Mitchell Hashimoto 9ca5bfeba0 Update CHANGELOG 2014-08-06 10:45:06 -07:00
Mitchell Hashimoto bafcfbbebe Update CHANGELOG 2014-08-06 10:33:06 -07:00
Mitchell Hashimoto c2a019dccc Update CHANGELOG 2014-08-06 10:31:12 -07:00
Mitchell Hashimoto 5db74bde10 update CHANGELOG 2014-08-06 10:28:10 -07:00
Mitchell Hashimoto 1799afe1b7 update CHANGELOG 2014-08-06 10:26:31 -07:00
Mitchell Hashimoto 2cdcc29902 provisioners/chef: put global lock around knife exec 2014-08-06 10:24:05 -07:00