Commit Graph

113 Commits

Author SHA1 Message Date
Brian Cain 28812fb880
Highlight here document terms instead of indent 2019-11-15 10:27:59 -08:00
Brian Cain 2adda6861e
Fixes #11196: Add more examples for ruby heredoc shell scripts
This commit adds an additional example for how to preserve quotes in a
script that uses heredocs.
2019-11-15 09:26:39 -08:00
Michael C 670cadae9f docs: Add clarification about ansible.limit in static inventory usecase 2019-10-11 08:57:20 +02:00
Chris Roberts 7fb81bcea1 Add support for other checksum types 2019-10-08 11:23:48 -07:00
Brian Cain 07a5190676
Merge pull request #10548 from mykaul/patch-1
ansible_ssh_host in the example is deprecated
2019-10-02 14:54:17 -07:00
Brian Cain f74239bed9
Merge pull request #11043 from briancain/provisioner-enhancements
Introduce new Provisioner options: before and after
2019-09-06 08:52:40 -07:00
Brian Cain 7b0dc8d528
Update provisioner enhancements from pull request feedback 2019-08-29 13:50:22 -07:00
Brian Cain 258ce7733c
Remove todo note from docs 2019-08-28 16:09:02 -07:00
Brian Cain f608c324e5
Update dependency provisioner docs 2019-08-28 15:09:48 -07:00
Brian Cain 5400af7a4a
Add note about dependency provisioner dependencies 2019-08-27 15:37:39 -07:00
Brian Cain 2677a721fb
Update provisioner basic usage with dependency provisioners 2019-08-27 15:11:14 -07:00
Brian Cain 98f598632e
Update docs with newly supported hashicorp/bionic64 box 2019-08-14 10:48:33 -07:00
Luís Sousa af5c752fb2
Review ansible_local.html.md 2019-08-02 16:18:20 +01:00
morkot 2fd803cdc2 website/docs: fix code formatting
This change will fix formatting of the code blocks on page https://www.vagrantup.com/docs/provisioning/ansible_local.html
2019-07-08 18:22:50 +01:00
Franklin Yu 13a959312d
Mention variable expansion in documentation 2019-04-24 17:13:17 -04:00
Brian Cain 139ae4397f
Merge pull request #10625 from vdebroy/fix-issue-9584
Fix issue 9584
2019-04-09 15:12:02 -07:00
Brian Cain 872c036686
Remove *I* from documentation
Removing I since it does not really make sense while reading the
documentation.
2019-04-01 16:18:29 -07:00
Vidroha Debroy 9b618eb0cf Updated documentation. Fixes hashicorp/vagrant#9584. 2019-01-28 13:59:00 -06:00
Yaniv Kaul 68b3ca5a8b
ansible_ssh_host in the example is deprecated
Need to use ansible_host these days. See https://docs.ansible.com/ansible/2.3/intro_inventory.html deprecation note (it was deprecated in 2.0 apparently)
2018-12-31 18:02:33 +02:00
Chris Roberts e735453422 Add reboot option to shell provisioner
Adds a `reboot` option which allows the guest to be rebooted after
the completion of a shell provisioning task. The guest must support
the `:reboot` capability. Like the `reset` option, the `reboot`
option may be provided without defining `inline` or `file` options
when a reboot may be required between other provisioners.

Fixes #8639
2018-12-21 15:50:59 -08:00
Chris Roberts 6b02914956 Update shell provisioner documentation
Properly order options alphabetically and include new option
for reset.
2018-11-12 15:36:21 -08:00
Brian Cain 8eec4fe6e4
Remove `I` from documentation 2018-11-12 08:45:12 -08:00
Brian Cain 1a0b014ef7
Add note about install_type for version 2018-11-01 08:51:04 -07:00
Brian Cain 8a07e731af
Update salt provisioner docs 2018-10-31 11:31:50 -07:00
Peter Schutt 78c7549b1b
Small typo fix 2018-10-17 22:12:27 +10:00
Nicolas Quiniou-Briand 8293b763bd
Add details and fix typo for run: "never" 2018-10-16 15:36:40 -04:00
mtkennerly 38175f93c6
Specify Salt pillar dependency on PowerShell 3.0 due to --% syntax. 2018-09-17 14:20:34 -07:00
Brian Cain 13b09bedac
(#9802) Allow non-windows hosts to pass along version
The salt bootstrap can now accept version arguments on non-windows
hosts, so this commit allows the Vagrant provisinoer to specify a
version.
2018-09-07 13:39:36 -07:00
Brian Cain bcd0deba8b
(#10091) Update `module_path` type for puppet apply provisioner
This commit updates the documentation for `module_path` to say that it
can be both a string or array of string paths.
2018-08-14 13:07:14 -07:00
h4rvey r0ss 63e712dead Colorize ruby commands 2018-07-28 20:10:57 +03:00
Gilles Cornu d5b5e9ea8c ansible_local: Improve installation from PPA
- Fix #9796: Failing installation on bionic (18.04 LTS)
- Remove support for precise (12.04 LTS), which is out of public support
  (On this version, the package python-software-properties contained
  the add-apt-repository tool)
- Reduce the number of SSH calls, and avoid unnecessary apt-get calls.
2018-05-31 05:47:50 +02:00
Gilles Cornu f9f0a9ac0d Ansible Docs: Review and Adapt PR #9864
- Remove undesired blank characters
- The examples attached to a specific option must be concise
- The original example is a tip for a non-standard use case
2018-05-25 21:03:42 +02:00
Rémy G 57f12d115c
Update ansible_common.html.md
Added an explanation about locating ansible roles in a non vagrant writeable directory
2018-05-24 14:54:15 +02:00
Rémy G 4b896d9945
ansible_local provisioner tuning example
According to @gildegoma in #9863, here's a concrete example about tuning ansible(_local) provisioner.
2018-05-24 14:22:43 +02:00
Brian Cain 151095a3e9
Merge pull request #9420 from ryanwalder/salt-json
Add master_json_config & minion_json_config options to salt provisioner
2018-04-16 15:37:44 -07:00
Brian Cain 0ce6e9891e
Merge pull request #9572 from jsoref/spelling
Spelling
2018-03-22 09:50:52 -07:00
Brandon Authier e5dd4d9e36
Fix missing "-" $script variable definition.
In the $script variable definition there appears to be a typo of "<<SCRIPT" when it should be "<<-SCRIPT". I ran into this issue while editing the Vagrant file on a Fedora variant with ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-linux].
2018-03-20 15:58:28 -07:00
Josh Soref 1a5ddea9f4 Spelling fixes
* account
* addresses
* administrator
* afterwards
* because
* bridgeable
* capabilities
* capability
* checksum
* configuration
* configuration for
* configure
* criteria
* delimited
* delivered
* derivatives
* description
* detect
* directory
* display
* downloading
* during
* electric
* enabling
* encountered
* equivalent
* executable
* executed
* hashicorp
* hypervisor
* hyphens
* implementation
* incorporate
* inheritance
* initialize
* instance
* instead
* interactions
* invocable
* machine
* maximum
* message
* mounting
* overridden
* overwrite
* paramiko
* preparing
* provides
* provisioning
* recursively
* requested
* resetting
* retryable
* running
* satisfied
* searching
* sometimes
* specified
* successfully
* synced folders
* unauthorized
* underlying
* userprofile
* vagrant
* vagrantfile
* variable
* various
* version
* virtual
* windows
2018-03-14 14:41:04 +00:00
Brandon Moore 5a12641f9c
Update URLs for the repo 2018-03-07 17:10:30 -05:00
John Eismeier 54ecded1d6
Propose fix some typos 2018-02-06 14:20:29 -05:00
Ryan Walder db457e6318 Add master_json_config & minion_json_config options to salt provisioner
* Allow use of -j/-J bootstrap options for configuring master/minion
2018-01-31 12:28:36 +00:00
Chris Roberts e6554d614f Include default value within documentation 2018-01-16 11:54:56 -08:00
Chris Roberts 3664f1a627 Allow hiding environment variable values in shell provisioner 2018-01-12 17:33:47 -08:00
hrvoj3e 63ec7c7b09
spelling fix - resoled to resolved 2018-01-06 17:01:30 +01:00
Ramon Fischer f502841201
correct pip argument 2017-12-27 06:58:56 +01:00
Jonathan LaBroad 56861296fa Added tests and validation for python_version parameter 2017-10-05 06:25:36 -04:00
Jonathan LaBroad 6f53c3991c Merge remote-tracking branch 'upstream/master' 2017-09-11 09:15:22 -04:00
Chris Roberts 34addec796 Merge pull request #8913 from mitchellh/gildegoma/6570-ansible-compatibility-mode
Ansible: Add "compatibility_mode" and "*become*" common options; Move "version" to common options
2017-09-06 13:18:08 -07:00
Gilles Cornu ac75e409a3
provisioners/ansible(both): Quote host_vars if needed
This patch is based on @subimage's inputs in the related GitHub issue.
Thanks again!

Fix #8597
2017-09-06 21:22:41 +02:00
Gilles Cornu 4dc3e59b08
provisioners/ansible(both): Review of PR #8913
- Keep the Programming Errors with corresponding Exception class and
  en.yml message template. Fix the alphabetical order in errors.rb by
  the way.
- Fix English wording in the documentation and en.yml messages
- Use StandardError for unknown error rescuing.

Thanks @chrisroberts!
2017-09-06 17:12:50 +02:00