Commit graph

524 commits

Author SHA1 Message Date
Richard Barrell
bed2eb36d3 Issue 8872: use getpass.getpass() to read password.
This avoids passing the plaintext raw password into the script as a
command-line argument, which shells such as bash and zsh will
typically log into a file like ~/bash_history.

As a small bonus, this works a LOT more smoothly if the user's
password has characters in it that either the shell or Python syntax
might like to interpret as metacharacters, like '\' or '"'.

getpass.getpass() is part of Python's standard library in all versions
between 2.4 and 3.3 at least.
2014-09-03 12:41:11 +01:00
James Cammarata
c1ce64bd5d Merge pull request #8850 from michalgasek/run-once-docs-fix
docs: Add versionadded for run_once
2014-09-02 13:53:27 -05:00
James Cammarata
64cb88aa3b Merge pull request #8802 from garywu/patch-3
Update playbooks_variables.rst
2014-09-02 11:06:00 -05:00
James Cammarata
4698f85eac Merge pull request #8789 from retr0h/retr0h/add-role-path-to-role-file
Can override each role's install path
2014-09-02 10:44:44 -05:00
Michal Gasek
11d5656fde docs: Add versionadded for run_once 2014-09-02 11:42:32 +02:00
Gary Wu
b0c4897196 Update playbooks_variables.rst 2014-08-28 09:39:14 -05:00
John Dewey
44b0ee5322 Can override each role's install path
Defaults to the system wide `roles-path` when `path` is not specified in the
provided `role-file`.  An example installing nginx to a relative path specified
by the `role-file`.

    - src: https://github.com/bennojoy/nginx
      path: vagrant/roles/
2014-08-27 16:43:39 -07:00
Michael DeHaan
984d551257 Merge pull request #8761 from mwarkentin/patch-1
Fix typo: `active` -> `activate`
2014-08-27 18:37:14 -04:00
James Cammarata
35dac66afa Adding docs for default+omit 2014-08-27 12:41:49 -05:00
Michael Warkentin
81dd7e9940 Fix typo: active -> activate 2014-08-26 14:19:18 -04:00
Michael DeHaan
7ffa9cecae Docs for command warnings feature. 2014-08-22 15:37:07 -04:00
Michael DeHaan
f54665aa51 Merge pull request #7491 from hkariti/doc_group_vars_dir
Update docs to include directories inside group_vars
2014-08-22 15:09:37 -04:00
Pascal Borreli
fe40a7d88a Fixed typos 2014-08-22 11:39:38 +01:00
Michael DeHaan
8e0af04c3b Add TOC to galaxy docs. 2014-08-21 18:53:36 -04:00
Michael DeHaan
399fe32287 Clarify examples further. 2014-08-21 18:48:02 -04:00
Michael DeHaan
caf4e44be7 Replace examples for requirements file. 2014-08-21 18:26:40 -04:00
Michael DeHaan
56ce56fdbe Fix docs typo. 2014-08-21 17:22:39 -04:00
Michael DeHaan
12ad110205 Add documentation for new ansible-galaxy role options in 1.8. Much rejoicing. 2014-08-21 17:15:23 -04:00
Will Thames
ada9074276 Allow installation of roles from yaml roles file
Added docs
Added more tests
Improved how roles are returned from the parsers
2014-08-21 17:15:23 -04:00
Ian Miell
340a3c68b1 Tense correction 2014-08-15 19:56:11 +01:00
Chad Rhyner
1c01c0c390 Fix some spelling mistakes in intro_windows.rst 2014-08-12 22:10:11 -07:00
Michael DeHaan
99c39b1ff3 By popular request, make the no_log attribute also censor tasks from callbacks. 2014-08-12 13:36:05 -04:00
Michael DeHaan
734548d8b4 Merge pull request #8525 from kamaln7/patch-1
Replace all occurrences of "Digital Ocean" with "DigitalOcean"
2014-08-11 16:04:04 -04:00
Michael DeHaan
160ddf6b04 WIP on fact caching docs. 2014-08-11 15:15:09 -04:00
Kamal Nasser
6e6e039506 Replace all occurrences of "Digital Ocean" with "DigitalOcean" 2014-08-08 22:03:17 +03:00
Michael DeHaan
f8cc5bc24d Merge pull request #7314 from bonifaido/patch-1
Ansible inventory file location fixed
2014-08-08 13:52:36 -04:00
Michael DeHaan
8b00ca5446 Merge pull request #7293 from dhobbs/patch-1
Update user mailing list link in faq.rst
2014-08-08 13:49:19 -04:00
Michael DeHaan
3066cd135e Revise documentation versioning. 2014-08-08 13:46:57 -04:00
Howard Oettle
50c3de3317 Add example of rolling update using a percentage. 2014-08-08 13:46:57 -04:00
Michael DeHaan
7806c5095d Conditional imports are described under conditionals so remove the duplicate section. 2014-08-08 13:20:15 -04:00
Michael DeHaan
f6cd9119b1 Update 'version_added' in docs. 2014-08-08 11:28:48 -04:00
Michael Peters
3ba516ac25 adding min() and max() filters for use in Jinja templates 2014-08-08 11:28:48 -04:00
Bill Nottingham
6e00f60427 Update version. 2014-08-01 19:43:54 -04:00
Michael DeHaan
27a73f2c11 Update vault docs to indicate the executable script option is part of Ansible 1.7. 2014-08-01 10:30:43 -04:00
Michael DeHaan
8ad296a6f2 Simply docs by providing the powershell setup script instead. Thanks Trond!!! 2014-07-31 13:42:12 -04:00
Sven-Hendrik Haase
28daa116ab Few language fixes
Hopefully I got them right! :)
2014-07-25 13:46:57 +02:00
Michael DeHaan
f0aab114ea Merge pull request #8196 from kustodian/playbooks_variables.rst
Fixed documentation in playbooks_variables.rst
2014-07-18 18:59:16 -04:00
Michael DeHaan
9caa93c1cf Add note about useful quote filter. 2014-07-18 18:23:48 -04:00
kustodian
dea19070e2 Fixed documentation in playbooks_variables.rst 2014-07-18 20:29:25 +02:00
James Laska
2e7ad0899f Update docs to mention new PPA 2014-07-16 12:26:17 -04:00
James Cammarata
1bdbea1a6b Merge pull request #8122 from tgerla/ubuntu-docs-fix
Docs: fix the name of the package that provides apt-add-repository on Ubuntu
2014-07-16 09:50:49 -05:00
James Cammarata
e74853300a Merge branch 'task-host-loop-bypass' of https://github.com/sivel/ansible into sivel-task-host-loop-bypass 2014-07-14 14:21:25 -05:00
James Cammarata
4fc8d4b6fe Merge pull request #7649 from sivel/vault-password-script
Allow --vault-password-file to work with a script as well as a flat file
2014-07-14 10:57:16 -05:00
James Cammarata
e3abaa30b6 Merge pull request #7650 from sivel/guide-rax-automation
Rax Guide: Add RackConnect and Managed Cloud automation check examples
2014-07-14 10:44:53 -05:00
Tim Gerla
bace3dc964 Fix the name of the package that provides apt-add-repository on Ubuntu 2014-07-14 08:42:49 -07:00
Brennan Ashton
a9e23cf090 ansible_ec2_instance-id key incorrect
ansible_ec2_instance-id should be ansible_ec2_instance_id

fatal: [*IP*] => One or more undefined variables: 'dict object' has no attribute 'ansible_ec2_instance-id'
2014-07-02 16:21:55 -07:00
James Cammarata
27b1d05e4b Merge pull request #7995 from adamnbowen/patch-3
Correct typo: 'receords' -> 'records'
2014-07-01 20:09:23 -05:00
Adam Bowen
c0da5f6bd3 Correct typo: 'receords' -> 'records'
I should read more than a sentence at a time when I'm correcting typos—sorry for the typo correction spam ;)
2014-06-30 21:44:08 -05:00
Adam Bowen
0c3d7f1bd8 Correct typo: 'additioanl' -> 'additional' 2014-06-30 21:42:02 -05:00
Adam Bowen
61b107da34 Correct typo: 'manaul' to 'manual' 2014-06-29 13:09:41 -05:00