Commit Graph

11774 Commits (9edf3a749ac137c8b51b8c7a2ba6c63991f162d5)
 

Author SHA1 Message Date
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
10 years ago
Michael Peters 8b1d6f5e75 fixing "else" typo 10 years ago
Michael Peters 7194fe1064 need to handle the case where include_pattern and exclude_pattern exist in the config file but contain empty strings 10 years ago
Michael DeHaan ab6e1a43e9 Merge pull request #8579 from hahla/devel
Fix issue #8578. Setting envvar in ""'s ensures the PYTHONPATH is set to
10 years ago
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]
10 years ago
Michael DeHaan d1344ec85d Merge pull request #8560 from sivel/ansible-vault-use-script
ansible-vault should support script for --vault-password-file too
10 years ago
Michael DeHaan 99c39b1ff3 By popular request, make the no_log attribute also censor tasks from callbacks. 10 years ago
James Cammarata a04efa2d84 Update docs for copy directory_mode param per #8572 10 years ago
James Cammarata fc7859f445 Make sure playbook_dir variable is an absolute path
Fixes #8317
10 years ago
Michael DeHaan 8abd6370df Merge pull request #8569 from drewblas/patch-2
Fix typo in CHANGELOG.md
10 years ago
Drew Blas 03d9268b51 Fix typo in CHANGELOG.md
This change occured int he ec2 module, not ec2_vol
10 years ago
James Cammarata 4940a7ad77 Merge pull request #8458 from Jmainguy/runner_8404
Fixes 8362, returns stderr if No space left on device
10 years ago
James Cammarata 5a128ca286 Adding extra member to mock inventory for unittests 10 years ago
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
10 years ago
Matt Martz d022cca637 If ansible and ansible-playbook accept a script for --vault-password-file so should ansible-vault 10 years ago
Michael DeHaan f186bcc936 Copy recursion works when source is a parameter, there is no parameter 'recurse' here. 10 years ago
Michael DeHaan 734548d8b4 Merge pull request #8525 from kamaln7/patch-1
Replace all occurrences of "Digital Ocean" with "DigitalOcean"
10 years ago
Michael DeHaan 7e42ca6665 Update CHANGELOG 10 years ago
Michael DeHaan 4a05310ba0 Keep things alphabetical in vault option list. 10 years ago
Jakub Paweł Głazik 99a339fa7b Fix comments and error message 10 years ago
Jakub Paweł Głazik 58feee0f45 ansible-vault view - new command 10 years ago
James Cammarata 783a1e3dfc Fixing broken patch 20957a1
Also adds integration tests for nested includes with conditionals
10 years ago
Michael DeHaan b0295af7ee Merge pull request #7462 from chamill/devel
Add spaces between sentences in formatted docs.
10 years ago
Michael DeHaan 02b0e102e6 Rename some INI keys for fact caching defaults 10 years ago
Michael DeHaan 160ddf6b04 WIP on fact caching docs. 10 years ago
James Cammarata 20957a1b85 Remove duplicate compiling of task when: statements
Fixes #8538
10 years ago
Michael DeHaan e49c4e298f Merge pull request #8550 from sivel/issue/8548
wait_for module: check e.errno instead of os.errno. Fixes #8548
10 years ago
Michael DeHaan 90c9bf8968 Add some more notes about recent 1.8 developments to the changelog. 10 years ago
Michael DeHaan 78ca731b54 Merge pull request #8549 from gregdek/devel
Text tweak
10 years ago
Matt Martz 315ac22437 Need to check e.errno instead of os.errno. Fixes #8548 10 years ago
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.
10 years ago
James Cammarata 66802169f5 Adding integration test based on #8535 10 years ago
James Cammarata 83fa9a8cde Make sure we only use unquote on quoted lines in lineinfile when needed 10 years ago
Michael DeHaan 542aaa6ffe Use JSON instead of pickles for compatibility. 10 years ago
Michael DeHaan 2629cd3fce Fix some copyrights, fix a misc test. 10 years ago
Michael DeHaan 533fb21586 Add copyright header, let me know if corrections are needed. 10 years ago
Michael DeHaan bdee1ff24e Standardize exception handling 10 years ago
Josh Drake a620ef414e Implement connection pooling for memcached cache plugin. 10 years ago
Josh Drake 3031247492 Use cPickle in redis fact caching backend. 10 years ago
Josh Drake 917e868f65 Implement fact cache flushing alongside a command-line argument to invoke it. 10 years ago
Josh Drake aa419044c4 WIP on the re-implementation of fact caching and various backends. 10 years ago
Michael DeHaan fb5a1403dd Merge 10 years ago
Michael DeHaan 56f9328f93 Merge 10 years ago
James Cammarata b3371b8de8 Unquote lines that were quoted for safety during eval in lineinfile
Fixes #8535
10 years ago
James Cammarata be0ca219d2 Merge branch 'leth-optimise_utils_clean_data' into devel 10 years ago
James Cammarata 25e9d1197e Merge branch 'optimise_utils_clean_data' of https://github.com/leth/ansible into leth-optimise_utils_clean_data 10 years ago
James Cammarata a650421e39 Catch task parameter splitting errors nicely
Fixes #8481
10 years ago
James Cammarata 9f34ea54f5 Correct parser to ignore escaped quotes when not in quotes already
Related to #8481
10 years ago
Michael DeHaan e66e4adedc Merge pull request #8532 from piffey/8502_acl
Issue 8502: Fixed bug where failed when permissions weren't specified.
10 years ago
Michael DeHaan 82564df61a Merge pull request #8544 from Tenzer/faster-apt_repository
apt_repository: Check if key already exists before adding it
10 years ago