Commit Graph

105 Commits

Author SHA1 Message Date
Seth Vargo ce4525e7fd Clean up words a bit 2015-01-21 10:26:27 -05:00
Christian Berendt 58435b7dca Add a note to the "external script" section how to run existing scripts
Closes-bug: #5228
2015-01-21 16:22:10 +01:00
Gilles Cornu 5b716d1623 provisioners/ansible: fix lines lengths in docs
[ci skip]
2015-01-13 19:18:32 +01:00
Gilles Cornu 00b848fd71 provisioners/ansible: improve inventory docs
Related to a question asked in the mailing list:
https://groups.google.com/forum/#!topic/vagrant-up/OwkR04u4MA4

[ci skip]
2015-01-13 19:18:23 +01:00
Gilles Cornu fafaa00391 doc: update ansible parallel provisioning tip
As of Vagrant 1.7+, the ansible parallel provisioning trick is easier to
be implemented with `config.ssh.insert_key=false` (fallback to previous
behaviour).

Close #5048

[ci skip]
2015-01-12 10:29:58 +01:00
Seth Vargo 2cbbcb4722 Add installer_download_path to Chef common options 2014-12-16 21:14:52 -05:00
Seth Vargo 53040be585 Improve Chef documentation 2014-12-16 21:08:16 -05:00
Seth Vargo 8c8a92c4be Merge pull request #4896 from analyzere/salt-grains-config
Issue #4895: Support grains config for salt
2014-12-14 23:48:02 -05:00
Donovan Hernandez 1275f24c38 Named Provisioners only in v1.7.0 2014-12-12 11:16:48 -06:00
Ken Crowell 72afdce630 Issue #4895: Support grains config for salt 2014-12-02 18:01:09 -04: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
Seth Vargo 9ae6cdaddc Add Chef Apply documentation 2014-10-30 15:53:19 -04:00
Seth Vargo ea3c6fe902 Use spaces in website docs 2014-10-30 13:43:26 -04:00
Teemu Matilainen 2d78f1a816 website/docs: Add documentation for the Chef Zero provisioner 2014-10-30 13:43:24 -04:00
Mitchell Hashimoto ee0423b792 website/docs: update docs for new provisioner style 2014-10-23 19:00:26 -07:00
Mitchell Hashimoto f6f784b72b website/docs: update docs for powershell-args 2014-10-23 09:53:55 -07:00
Mark Whelan b22259107b fix typos 2014-09-23 14:38:26 -04:00
Mitchell Hashimoto 6747f12951 website/docs: clarify that add_recipe order matters 2014-09-16 11:24:35 -07:00
Mitchell Hashimoto 0ea21b686f Update chef_client.html.md 2014-08-12 14:07:16 -07:00
anatoly techtonik ebf5b12796 doc: Directories are not supported for destination (issue4147) 2014-07-05 16:21:48 +03:00
anatoly techtonik 329b88bbb4 docs: Add usage example to provisioning/file 2014-07-05 16:13:20 +03:00
Shawn Neal ab6cac8c74 Fix spelling of Chef Solo, Chef Client, and Chef Server in website docs 2014-06-29 16:56:02 -07:00
Marno van der Molen 6d0dd22864 Also copy minion config in bootstrap-salt.ps1 & update Salt docs to mention syndic/master not supported on Windows 2014-05-19 14:01:31 +02:00
Mitchell Hashimoto a5ca5b39ab website/docs: make mention of docker provider on provisioner page 2014-05-08 13:15:13 -07:00
Krzysztof Szularz fd8f1ed0cc Amend default manifest name for puppet apply
Option listing still quoted `init.pp` as default manifest name.
2014-05-08 16:07:50 +02:00
Fabio Rehm d64c1f750c website/docs: Add missing `end` to "Run Once or Always" example 2014-05-01 18:50:51 -03:00
Mitchell Hashimoto f6683ad016 website/docs: update slat docs 2014-05-01 13:49:12 -07:00
deyk 567af495d4 Add colorization and log_level support to salt provisioner.
This commit adds two new options to the salt provisioner:

- `colorize`: controls color output. Defaults to no-color (present behavior).
- `log_level`: controls log level. Defaults to `debug` (present behavior).

Docs included!
2014-05-01 11:10:09 -07:00
Christian Berendt b05e506031 fixed typos found by topy in all Markdown files
Topy is available at https://github.com/intgr/topy.
2014-05-01 16:22:23 +02:00
Mitchell Hashimoto 490562f00a website/docs: run once and always provisioners 2014-04-30 18:53:24 -07:00
Emilien Kenler dd06dffe85 Ansible Vault support
Add the following options to the Ansible provisioner:
- ask_vault_pass
- vault_password_file
2014-04-21 13:56:15 -07:00
Mitchell Hashimoto 9dd45ac81c website/docs: update docs for winrm shell provisioning 2014-04-21 13:53:58 -07:00
Mitchell Hashimoto 58916f272d website/docs: update docs for winrm shell provisioning 2014-04-21 13:53:55 -07:00
Mitchell Hashimoto 374d1c495a provisioners/docker: auto-assigned name shouldn't have / [GH-3216] 2014-04-11 18:50:02 -07:00
Mitchell Hashimoto b26a3c88aa website/docs: clarify docker 2014-04-09 14:31:22 -07:00
Diego Zamboni f6d3d3a5e5 Documentation for the CFEngine provisioner
Added documentation for the CFEngine provisioner.
2014-04-07 18:03:33 -05:00
Mitchell Hashimoto 444e01e32f website/docs: fix incorrect config option for p uppet 2014-04-05 09:26:31 -07:00
Mitchell Hashimoto 0fe3c9187e website/docs: update docker provisioner 2014-04-02 08:45:20 -07:00
follower 24e551a1dc Document solution for wrong SSH user with Ansible
As per: https://github.com/mitchellh/vagrant/pull/2710#issuecomment-32192976
2014-04-03 03:17:36 +13:00
Jaik Dean e8c7468885 Minor grammar corrections to Ansible provisioning documentation 2014-03-27 15:06:52 +00:00
jjshoe 9cdcdeb42a Nit-picky grammer making it easier to read. 2014-03-10 17:26:48 -05:00
Gilles Cornu 1d09fc4a79 provisioners/ansible: add new option raw_ssh_args
Since the Ansible provisioner now potentially exports ANSIBLE_SSH_ARGS
variable, it is fair to allow to extend the content of this environment
variable (`ssh_args` parameters from ansible.cfg file have lower
priority)
2014-03-09 22:47:24 +01:00
Gilles Cornu c39912287d website/docs: remove unwanted brackets (typo) 2014-03-06 23:57:47 +01:00
Gilles Cornu 1d328f7021 provisioners/ansible: Disable host key checking
Close #3060
2014-03-06 23:55:08 +01:00
Mitchell Hashimoto 857b989c47 provisioners/docker: setting to not auto assign name 2014-03-04 07:31:13 -08:00
Mitchell Hashimoto a1b29ca82b Merge pull request #2991 from gildegoma/review-pr2926
provisioner/ansible: Ansible single inventory file
2014-02-27 11:30:12 -08:00
odigity 91af6a7b81 added docs for 'file' provisioner 2014-02-25 11:33:08 -05:00
Gilles Cornu 49b5b6515d Ansible Docs: Tip about wrong remote user
Hint motivated by misleading situations reported in #2710.
2014-02-25 06:59:39 +01:00