Commit graph

12003 commits

Author SHA1 Message Date
James Cammarata
b4476c238f Use match() instead of search() for pattern matching
Also related to f48fa3, fix for #8614
2014-08-14 12:26:52 -05:00
James Cammarata
f48fa3759a Fix host pattern matching and enhance error detection
Fixes #8614
2014-08-14 12:13:40 -05:00
rghe
9b6df6d9a8 fixes #8626 by reverting 0d8b81cd 2014-08-14 18:10:58 +02:00
James Cammarata
a01d97f12b Fixing variable name bug introduced in ac8950f
Fixes #8617
2014-08-14 10:55:26 -05:00
James Cammarata
bea0845322 Fix vault_password positional args error 2014-08-14 10:28:08 -05:00
Lukas Wunner
f4053fcf3a Only chown on atomic move if invoked as root
Linux and BSD derivatives do not allow unprivileged users to
"give away" files to others for security reasons. (System V
derivatives allow that but they're rare nowadays.)
2014-08-14 16:56:11 +02:00
Michael DeHaan
448c0a950e Merge pull request #8622 from ciupicri/typo
Fix typo: & -> and
2014-08-14 10:55:16 -04:00
Michael DeHaan
9e0090e21b Merge pull request #8612 from mjaschen-forks/devel
Homebrew module: Added `+` and `.` characters to the package name regex.
2014-08-14 10:52:25 -04:00
Michael DeHaan
1faa7ec50a Merge pull request #8589 from huckphin/huckphin-fixSpellingWindows
Fix some spelling mistakes in intro_windows.rst
2014-08-14 10:42:08 -04:00
Michael DeHaan
773df2cc8a Merge pull request #8587 from ericwb/bug/8299
Update keystone_user doc for tenant_description
2014-08-14 10:41:45 -04:00
Cristian Ciupitu
b6261d05b0 Fix typo: & -> and
`and` is the boolean operator for AND in [Python][1].
`&` is the bitwise operator for AND in [Python][2].

[1]: https://docs.python.org/2/reference/expressions.html#boolean-operations
[2]: https://docs.python.org/2/reference/expressions.html#binary-bitwise-operations
2014-08-14 16:52:59 +03:00
Marcus Jaschen
c6ac95d403 Homebrew module: Added + and . characters to the package name regex.
Solves installation failures for packages like `bonnie++` or
`virtualhost.sh` as described in #8413.
2014-08-13 22:31:03 +02:00
Chad Rhyner
1c01c0c390 Fix some spelling mistakes in intro_windows.rst 2014-08-12 22:10:11 -07:00
Eric Brown
8e6c219ee9 Update keystone_user doc for tenant_description
The description var should be tenant_description.

Closes-bug: #8299
2014-08-12 16:49:33 -07:00
Michael DeHaan
9edf3a749a Merge pull request #8580 from mpeters/ec2_inv_empty_patterns
Handle the case where include_pattern and exclude_pattern exist but are empty strings
2014-08-12 18:25:52 -04:00
Michael Peters
8b1d6f5e75 fixing "else" typo 2014-08-12 15:48:14 -04:00
Michael Peters
7194fe1064 need to handle the case where include_pattern and exclude_pattern exist in the config file but contain empty strings 2014-08-12 15:40:15 -04:00
Michael DeHaan
ab6e1a43e9 Merge pull request #8579 from hahla/devel
Fix issue #8578. Setting envvar in ""'s ensures the PYTHONPATH is set to
2014-08-12 15:23:03 -04:00
Michael Salmon
e827ec702e Fix issue #8578. Setting envvar in ""'s ensures the PYTHONPATH is set to
include the lib/ directory.

Before - PYTHONPATH is empty.. ansible fails to run

    $ source hacking/env-setup.fish
    Appending PYTHONPATH

    Setting up Ansible to run out of checkout...

    PATH=/Volumes/opt/src/ansible/bin /usr/local/share/python3 /usr/local/bin
    /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin /usr/bin /sbin
    /usr/local/bin /Users/ms/bin/
    PYTHONPATH=
    ANSIBLE_LIBRARY=/Volumes/opt/src/ansible/library
    ...

    Traceback (most recent call last):
      File "/Volumes/opt/src/ansible/bin/ansible", line 25, in <module>
          from ansible.runner import Runner
          ImportError: No module named ansible.runner

After change - it's set.. ansible runs.

    source hacking/env-setup.fish
    Appending PYTHONPATH

    Setting up Ansible to run out of checkout...

    PATH=/Volumes/opt/src/ansible/bin /usr/local/share/python3 /usr/local/bin
    /usr/bin /bin /usr/sbin /sbin /usr/local/bin /opt/X11/bin /usr/bin /sbin
    /usr/local/bin /Users/ms/bin/
    PYTHONPATH=/Volumes/opt/src/ansible/lib:
    ANSIBLE_LIBRARY=/Volumes/opt/src/ansible/library
    ....

    $ ansible
    Usage: ansible <host-pattern> [options]
2014-08-12 12:09:20 -07:00
Michael DeHaan
d1344ec85d Merge pull request #8560 from sivel/ansible-vault-use-script
ansible-vault should support script for --vault-password-file too
2014-08-12 13:49:14 -04: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
James Cammarata
a04efa2d84 Update docs for copy directory_mode param per #8572 2014-08-12 12:19:13 -05:00
James Cammarata
fc7859f445 Make sure playbook_dir variable is an absolute path
Fixes #8317
2014-08-12 09:51:44 -05:00
Michael DeHaan
8abd6370df Merge pull request #8569 from drewblas/patch-2
Fix typo in CHANGELOG.md
2014-08-12 08:48:46 -04:00
Drew Blas
03d9268b51 Fix typo in CHANGELOG.md
This change occured int he ec2 module, not ec2_vol
2014-08-12 04:55:12 -05:00
James Cammarata
4940a7ad77 Merge pull request #8458 from Jmainguy/runner_8404
Fixes 8362, returns stderr if No space left on device
2014-08-11 23:16:57 -05:00
James Cammarata
5a128ca286 Adding extra member to mock inventory for unittests 2014-08-11 19:29:55 -05:00
James Cammarata
ac8950fd36 Set special vars in play.vars rather than load_vars
Also refactors playbook loading code relating to vars in playbooks
to a sub-function.

Fixes #8534
2014-08-11 19:23:54 -05:00
Matt Martz
d022cca637 If ansible and ansible-playbook accept a script for --vault-password-file so should ansible-vault 2014-08-11 19:16:39 -05:00
Michael DeHaan
f186bcc936 Copy recursion works when source is a parameter, there is no parameter 'recurse' here. 2014-08-11 16:22:13 -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
7e42ca6665 Update CHANGELOG 2014-08-11 16:02:10 -04:00
Michael DeHaan
4a05310ba0 Keep things alphabetical in vault option list. 2014-08-11 16:02:10 -04:00
Jakub Paweł Głazik
99a339fa7b Fix comments and error message 2014-08-11 16:02:10 -04:00
Jakub Paweł Głazik
58feee0f45 ansible-vault view - new command 2014-08-11 16:02:10 -04:00
James Cammarata
783a1e3dfc Fixing broken patch 20957a1
Also adds integration tests for nested includes with conditionals
2014-08-11 14:58:48 -05:00
Michael DeHaan
b0295af7ee Merge pull request #7462 from chamill/devel
Add spaces between sentences in formatted docs.
2014-08-11 15:53:16 -04:00
Michael DeHaan
02b0e102e6 Rename some INI keys for fact caching defaults 2014-08-11 15:16:51 -04:00
Michael DeHaan
160ddf6b04 WIP on fact caching docs. 2014-08-11 15:15:09 -04:00
James Cammarata
20957a1b85 Remove duplicate compiling of task when: statements
Fixes #8538
2014-08-11 13:23:07 -05:00
Michael DeHaan
e49c4e298f Merge pull request #8550 from sivel/issue/8548
wait_for module: check e.errno instead of os.errno. Fixes #8548
2014-08-11 14:07:12 -04:00
Michael DeHaan
90c9bf8968 Add some more notes about recent 1.8 developments to the changelog. 2014-08-11 13:53:50 -04:00
Michael DeHaan
78ca731b54 Merge pull request #8549 from gregdek/devel
Text tweak
2014-08-11 13:30:23 -04:00
Matt Martz
315ac22437 Need to check e.errno instead of os.errno. Fixes #8548 2014-08-11 12:26:52 -05:00
Greg DeKoenigsberg
890169ee67 Text tweak
A suggestion to smooth out the text -- if you think it's an improvement, happy to make a larger PR with all the instances of this fixed.
2014-08-11 13:25:02 -04:00
James Cammarata
66802169f5 Adding integration test based on #8535 2014-08-11 11:42:21 -05:00
James Cammarata
83fa9a8cde Make sure we only use unquote on quoted lines in lineinfile when needed 2014-08-11 11:23:52 -05:00
Michael DeHaan
542aaa6ffe Use JSON instead of pickles for compatibility. 2014-08-11 12:23:05 -04:00
Michael DeHaan
2629cd3fce Fix some copyrights, fix a misc test. 2014-08-11 12:23:05 -04:00
Michael DeHaan
533fb21586 Add copyright header, let me know if corrections are needed. 2014-08-11 12:23:05 -04:00