Commit Graph

12334 Commits (93e273333d4859e83e64830d5ce52e52d3822317)
 

Author SHA1 Message Date
James Cammarata 3a7aca6066 Fix no_log value for content in common file args settings
Also adds a test to ensure the content value is not logged.

Related to #8647
10 years ago
James Cammarata 8a5675ca9f Fixing no_log for the playbook level use
Fixes #8647
10 years ago
Serge van Ginderachter 0ab721d51e better logic for all-group variables for implicit localhost 10 years ago
Serge van Ginderachter 3c06833302 group_by: make sure new group has bigger priority than all group 10 years ago
Serge van Ginderachter a2cfe8770b Inventory: fix logic mistake in loading/retrieving variables for groups 10 years ago
James Cammarata 8648fa175c Removing skipped=True from result when using creates= and removes=
Fixes #8645
10 years ago
James Cammarata ca6db40cb4 When serializing inventory, pop from the start of the hosts list
Fixes #8646
10 years ago
Michael DeHaan 47f4dec676 In order to allow easier updates from upstream hardware vendors, we're going to be hosting network hardware
config modules on Galaxy as announced during the last release cycle.   (This excludes load balancers, which remain in core).

Please refer to https://eos.arista.com/introducing-arista-eos-roles-for-ansible/ and https://galaxy.ansible.com/list#/roles/1359
and where this content now lives.

Thanks to Peter Sprygada for the roles content!
10 years ago
Ding Deng 13db184d7f debconf module: add the missing 'error' vtype and reorder vtypes as they appeared in debconf-devel(7). 10 years ago
James Cammarata c8494cdc39 Set prompt encoding to a sane value when sys.stdout.encoding is None
Fixes #8644
10 years ago
nathansoz f0004b1604 $powershellpath is called as ".$powershellpath"
$powershell path is set to "C:\powershell" at line 27. This is fine, but on line 82 $powershellpath is called as ".$powershellpath\$filename". Because the path at line 27 is absolute, a period preceding the $powershellpath is not required at 82. It actually causes an error:

Start-Process : This command cannot be executed due to the error: Unknown error (0x80041002).
At C:\users\Nathan Sosnovske\Documents\ps2to3.ps1:81 char:14

Start-Process <<<< -FilePath ".$powershellpath\$filename" -ArgumentList /quiet
CategoryInfo : InvalidOperation: (:) [Start-Process], InvalidOperationException
FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.StartProcessCommand
Removing the period on line 82 before $powershellpath fixes this error.
10 years ago
James Cammarata 379e31883c Fix check mode issues with copy module
Fixes #8639
10 years ago
James Cammarata 542f07128e Correct check for role library/ existence
Fixes #8633
10 years ago
James Cammarata e2b8f05b79 Add option to disable ControlPath to ssh options during rsync
Fixes #8473
10 years ago
James Cammarata e3895840d1 Make sure group_vars/all is loaded for ungrouped hosts
Fixes #6563
10 years ago
James Cammarata 92f7aa79b0 Fix bad commit from #8095 and fix bad splitting on :'s in the image
Fixes #8095
Fixes #8658
10 years ago
Chris Church 90fc6c6881 Added winrm test for long-running command. 10 years ago
Will Thames 0083212704 Fix RDS AWS connection
Use the common AWS connection improvements so that security_token,
boto_profile etc. are taken into account
10 years ago
Lukas Wunner 677de07f44 Try optimistic chown, do not error out if not permitted to chown
Add unit test
10 years ago
Michael DeHaan f4d649bea0 Merge pull request #8641 from ianmiell/imiell_docs
Tense correction
10 years ago
Ian Miell 340a3c68b1 Tense correction 10 years ago
Michael DeHaan 91560c00a9 Merge pull request #8627 from rghe/devel
fixes #8626 by reverting 0d8b81cd
10 years ago
James Cammarata 8dafacd4e9 Make env param a dict type instead of list
Also modifies param type checking code to remove whitespace from
around params before splitting them into k=v pairs.

Fixes #8199
10 years ago
Michael DeHaan a230a3fad9 Merge pull request #8635 from RockinRoel/devel
Fix fonts in docs: Incosolata -> Inconsolata
10 years ago
Michael DeHaan 3035f2dcc8 Merge pull request #8367 from msabramo/make_pip_install_editable_work
Make `pip install -e` work
10 years ago
Roel Standaert f3e951aa95 Fix fonts in docs: Incosolata -> Inconsolata 10 years ago
James Cammarata 54cbe3dcf9 Disallow args: to be specified as a string 10 years ago
James Cammarata 600a4657b4 Catch error in atomic_move when creating temporary file
Fixes #8480
10 years ago
James Cammarata ee18c557ec Load group_vars for new groups loaded via add_host
Fixes #8605
10 years ago
James Cammarata b4476c238f Use match() instead of search() for pattern matching
Also related to f48fa3, fix for #8614
10 years ago
James Cammarata f48fa3759a Fix host pattern matching and enhance error detection
Fixes #8614
10 years ago
rghe 9b6df6d9a8 fixes #8626 by reverting 0d8b81cd 10 years ago
James Cammarata a01d97f12b Fixing variable name bug introduced in ac8950f
Fixes #8617
10 years ago
James Cammarata bea0845322 Fix vault_password positional args error 10 years ago
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.)
10 years ago
Michael DeHaan 448c0a950e Merge pull request #8622 from ciupicri/typo
Fix typo: & -> and
10 years ago
Michael DeHaan 9e0090e21b Merge pull request #8612 from mjaschen-forks/devel
Homebrew module: Added `+` and `.` characters to the package name regex.
10 years ago
Michael DeHaan 1faa7ec50a Merge pull request #8589 from huckphin/huckphin-fixSpellingWindows
Fix some spelling mistakes in intro_windows.rst
10 years ago
Michael DeHaan 773df2cc8a Merge pull request #8587 from ericwb/bug/8299
Update keystone_user doc for tenant_description
10 years ago
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
10 years ago
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.
10 years ago
Chad Rhyner 1c01c0c390 Fix some spelling mistakes in intro_windows.rst 10 years ago
Eric Brown 8e6c219ee9 Update keystone_user doc for tenant_description
The description var should be tenant_description.

Closes-bug: #8299
10 years ago
Eric Brown 5ce366c6a2 Fix the docs for glance_image.endpoint_type
The endpoint_type option was added in version 1.7,
so the docs need to state this.  Also the the description
is too brief.
10 years ago
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