Commit Graph

1389 Commits

Author SHA1 Message Date
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