Commit Graph

15334 Commits (9936c5f9f62310b312680b5a7ecf0642b70b5bb9)
 

Author SHA1 Message Date
Reed Loden eb1fb41576 Add several DNS-related facts by parsing /etc/resolv.conf
Facts include nameservers, domain, search path, sortlist, and options.
9 years ago
Sébastien Gross c0b7fcd304 Add documentation for regex_escape filter 9 years ago
Sébastien Gross 36534668f0 Change name from re_escape to regex_escape to fit existing function names. 9 years ago
Sébastien Gross c1e4085251 Add regular expression escaping filter. 9 years ago
Brian Coca 0b6fadaad7 started implementing diff
diff now works with template
also fixed check mode for template and copy
9 years ago
James Cammarata d11e07a0e5 Merge pull request #11738 from amenonsen/7485-rebase
Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable
9 years ago
Pablo Figue f8bf2ba1bd Encrypt the vault file after editing only if the contents changed 9 years ago
Andrew Hamilton 7f45c9edf7 Have ec2.py expand tilde and vars when looking up the EC2_INI_PATH env variable 9 years ago
James Cammarata 73aa5686cc Remove octal escapes from unicode escape handling
Fixes #11673
9 years ago
Brian Coca 5be384bab0 Merge pull request #11733 from amenonsen/csvfile
v2 breakage: lookupfile should lookup the given file=xxx
9 years ago
Brian Coca 6c1f4ddf7e Merge pull request #11736 from mscherer/fix_9971
Add more explicit documentation on ansible_nodename and ansible_hostname
9 years ago
Brian Coca c7c5b40aa8 Merge pull request #11735 from mscherer/fix_10273
Document and test 'is undefined' rather than 'is not defined'
9 years ago
Brian Coca b19eb0f4dc minor improvements to display 9 years ago
Michael Scherer c2c20baf01 Add more explicit documentation on ansible_nodename and ansible_hostname
Fix #9971, based on text from Paul Czarkowski
9 years ago
Brian Coca 0dc1cbd6b9 Merge pull request #9524 from ktosiek/patch-1
guide_rax.rst: fix add_host invocations
9 years ago
Michael Scherer 106e942faa Document and test 'is undefined' rather than 'is not defined'
According to https://github.com/ansible/ansible/issues/10273,
this syntax should work better for nested dicts.
9 years ago
JustInVTime 8156ad3760 Delimiter param must be a string 9 years ago
Abhijit Menon-Sen 8737061a8f lookupfile should lookup the given file=xxx
(Earlier it used to lookup the pre-split term.)
9 years ago
James Cammarata 8509f22839 Merge pull request #11731 from danasmera/devel
Delete unused import glob
9 years ago
James Cammarata eca88d4253 Merge pull request #11732 from amenonsen/9212-rebase
Forbid copy: content="" with a directory destination
9 years ago
Mario de Frutos 4ed664f4d0 Forbid copy: content="" with a directory destination
Fixes #9107, closes PR #9212
9 years ago
danasmera 966193e233 Delete unused import glob 9 years ago
Brian Coca b9710b4a34 wrapped new system ssh key lookup in case file does not exist 9 years ago
Brian Coca 491b5fea6a Merge pull request #11730 from amenonsen/7730-rebase
Have paramiko use /etc/ssh_known_hosts (#7730 rebase)
9 years ago
Patrick Michaud e4df8c3d36 Have paramiko use /etc/ssh_known_hosts
Fixes an issue with a confusing error: "paramiko: The authenticity of host '[host]' can't be established" when ssh on the command line doesn't complain

Closes PR #7730
9 years ago
Brian Coca 0858d97c44 also captures typeerrors for when not getting a proper string in output 9 years ago
Brian Coca 8ace659d4c Merge pull request #10524 from TwoD/arch
Added installation instructions for Arch Linux.
9 years ago
Henrik Danielsson c5d2db9c88 Added note about Python 2 for Arch Linux and a link to the ArchWiki page. 9 years ago
Toshio Kuratomi 8ee3b7384d Guard the PROTOCOL setting so that we work on older pythons 9 years ago
Toshio Kuratomi 36382face9 Add a warning about mode being octal 9 years ago
James Cammarata eccfb7e0b5 Adding initial support for includes in handlers
Fixes #11694
9 years ago
Brian Coca 7215470c6f implemented galaxy list in v2 9 years ago
Will Thames 9abd9a8f57 Make ansible-galaxy work with galaxy.ansible.com
Now works with role files that use Ansible Galaxy roles
Still work to do on making this work with internal roles
9 years ago
James Cammarata 014f3e8f7a Merge pull request #11722 from amenonsen/tagdocs
Clarify that tagging an include/role tags every task within
9 years ago
Brian Coca 587a327647 Merge pull request #11495 from xmj/devel
docsite/rst/intro_configuration.rst: reword Title.
9 years ago
Brian Coca 92516f9d11 extend conditions for async error
fixes #11207
9 years ago
Abhijit Menon-Sen 50d0d99ba6 Clarify that tagging an include/role tags every task within
Closes #11361
9 years ago
Brian Coca 6e2aca2261 Merge pull request #11670 from jody-frankowski/update-intro-inventory-params
Fix intro_inventory documented params. Update for the new 'become' system
9 years ago
Chris Church 0ef4e0372b Fixes for WinRM/PowerShell support in v2.
- Add support for inserting module args into PowerShell modules.  Fixes #11661.
- Support Windows paths containing spaces.  Applies changes from #10727 to v2.  Fixes #9999.  Should also fix ansible/ansible-modules-core#944 and ansible/ansible-modules-core#1007.
- Change how execution policy is set for running remote scripts.  Applies changes from #11092 to v2.  Also fixes ansible/ansible-modules-core#1776.
- Use codepage 65001 (UTF-8) for WinRM connection instead of default (CP437), convert command to UTF-8 and results from UTF-8.  Replaces changes from #10024.  Fixes #11198.
- Close WinRM connection when task completes.
- Use win_stat, win_file and win_copy modules instead of stat, file and copy when called from within other action plugins (only when using WinRM+PowerShell).
- Unquote Windows path arguments before passing to win_stat, win_file, win_copy and slurp modules (only when using WinRM/PowerShell).
- Check for win_ping module to determine if core modules are missing (only when using WinRM/PowerShell).
- Add stdout_lines to result from running low level commands (so stdout_lines is available when using raw/script).
- Update copy action plugin to use shell functions for joining paths and checking for trailing slash.
- Update fetch action plugin to unquote source path when using Windows paths.
- Add win_copy and win_template action plugins that inherit from copy and template.
- Support running .bat and .cmd scripts using default system encoding instead of UTF-8.
- Always send PowerShell commands as base64-encoded blobs to allow for running simple PowerShell commands via raw.
- Support running modules on Windows with interpreters other than PowerShell.
- Update integration tests to support above changes and test unicode fixes.
- Add test for win_user error from ansible/ansible-modules-core#1241 (fixed by ansible/ansible-modules-core#1774).
- Add test for additional win_stat output values (implemented by ansible/ansible-modules-core#1473).
- Add test for OS architecture and name from setup.ps1 (implemented by ansible/ansible-modules-core#1100).

All WinRM integration tests pass for me with these changes.
9 years ago
Brian Coca cff77de917 added todo for future of feature 9 years ago
Brian Coca 0089eb8102 reimplemented logging based on log_path var 9 years ago
James Cammarata ff49c5adac Make sure we're actually looping before looking at 'results' in TaskResult
Fixes #11696
9 years ago
James Cammarata 0fcd53e887 Make sure the command is sudoable before checking for the become password
Fixes #11714
9 years ago
Brian Coca e49575ff56 added wrap_text to 'last resort' as it fails if there is an error in callbacks 9 years ago
James Cammarata 8146a193eb Fix strategy base unit tests after 88e1ef8 9 years ago
James Cammarata e526743b4f Allowing `args: "{{some_var}}"` for task params again
This is unsafe and we debated re-adding it to the v2/2.0 codebase,
however it is a common-enough feature that we will simply mark it
as deprecated for now and remove it at some point in the future.

Fixes #11718
9 years ago
Brian Coca 681eab1158 fix adhoc that broke with assuming step is always in options 9 years ago
Brian Coca 88e1ef8c9b implemented --step in v2 9 years ago
James Cammarata f6a08ce1ba Adding a note about chaining filters after default(omit)
Fixes #10164
9 years ago
Brian Coca 3bf1edfd96 Merge pull request #11591 from defionscode/boto3
Connection function for boto3
9 years ago