Commit Graph

18230 Commits (e1faa787225cc29bbff807c46a8db60579246233)
 

Author SHA1 Message Date
Toshio Kuratomi 1f0993c852 Merge pull request #14417 from ansible/params-default-to-str
Module params should default to str in most cases.
9 years ago
Toshio Kuratomi 6276585882 Module params should default to str in most cases. 9 years ago
Brian Coca 64c976a6c3 Merge pull request #14416 from bcoca/diff_size_fix
read full file when doing diff
9 years ago
Brian Coca 38120c1075 termination handling
- moved to base cli class to handle centrally and duplicate less code
- now avoids duplication and reiteration of signal handler by reassigning it
- left note on how to do non-graceful in case we add in future
  as I won't remember everything i did here and don't want to 'relearn' it.
9 years ago
Brian Coca 3079a03773 read full file when doing diff
but avoid reading file at all or full file when file is too big for diffing
9 years ago
Toshio Kuratomi 371c7315b0 Merge pull request #14261 from kamsz/devel
Add validate_certs param to skip SSL verification in VMware
9 years ago
Toshio Kuratomi 486304ba1c Clarify error message when module replacer encounters a bad import line for module_utils code 9 years ago
Brian Coca d9dcb2a427 Revert "centralized TERM signal handling"
This reverts commit 5a88478ccc.
is WIP, not ready for use yet
9 years ago
James Cammarata 2adddac94c Catch exceptions during module execution so they don't fail the worker
Fixes #14120
9 years ago
Brian Coca 5a88478ccc centralized TERM signal handling 9 years ago
Brian Coca 1b8dec9c88 avoid termination message when term is internal 9 years ago
Brian Coca b4b24a0889 moved to base class for shell plugins
fish now sets env vars correctly
fish checksum now works
fixed and cleaned up imports
fixed typo
9 years ago
Brian Coca f50b381dba Merge pull request #13678 from Etherdaemon/fix_datetime_objects
fix for datetime exception in ecs_tasks
9 years ago
James Cammarata a54f472b08 Submodule pointer update for devel 9 years ago
Matthew Stoltenberg d36394d6a6 strip BECOME-SUCCESS at lower level
Fixes #14395
9 years ago
James Cammarata 162dd2594f Filter become success string from the stdout of script results
Fixes #14390
9 years ago
Kamil Szczygiel 9f1eea43fa support for python < 2.7 9 years ago
Toshio Kuratomi 0f15e59cb2 Also hide the before state of files with --diff and no_log 9 years ago
Toshio Kuratomi 06b2400aae Need to apply to_str to each element of the list so that we don't mix types in the join()
"Third time's the charm"
9 years ago
Brian Coca 81a40ac235 fix winrm erorr formatting 9 years ago
Brian Coca 5014919099 Merge pull request #14347 from bcoca/die_now
fix termination on user/signal interrupt
9 years ago
Brian Coca f9bf237065 Merge pull request #14379 from defionscode/mod_args
Added more info to the no action detected error
9 years ago
Jonathan Davila b220051c14 Added more info to the no action detected error
Error fix
9 years ago
Tom Paine 8e3cc3eecd Update profile_tasks.rst 9 years ago
Toshio Kuratomi 1aaf5a399c Merge pull request #14317 from resmo/feature/fail_on_missing_params
module_utils/basic: add generic method for checking for missing param…
9 years ago
Brian Coca 08b3dbcda3 corrected several usages of deprecated bare vars 9 years ago
Robin Roth f3f3e3c660 fix typo 9 years ago
Brian Coca ba51ed06cf changed from deprecated implicit bare var 9 years ago
Robin Roth c0ebb74ad0 add ismount function from python Lib/posixpath.py
needed for https://github.com/ansible/ansible-modules-core/pull/2737
9 years ago
Brian Coca 6414c967e4 now check for description and listify if needed
fixes #14371
9 years ago
Brian Coca 46ce9a0016 Merge pull request #13883 from shaba/devel
Add support ssh configs from /etc/openssh.
9 years ago
Tom Paine 5a88cd8ad9 Rename profile_tasks.md to profile_tasks.rst 9 years ago
James Cammarata 1ea21f1f8c Also chmod the args file path when using become for old-style modules
Fixes #14348
9 years ago
Brian Coca 5a1887cc76 correctly handle term signals
- adhoc now terminates gracefully
- avoid race condition on terminations by ignoring errors if
  worker might have been reaped between checking if active and termination call
- ansible-playbook now properly exits on sigint/term
- adhoc and playbook now give exceptions that we should not normally capture
  and rely on top level finally to reap children
- handle systemexit breaks in workers
- added debug to see at which frame we exit
partial fix for #14346
9 years ago
James Cammarata 45755bc0e5 Merge pull request #14353 from felixfontein/devel
Include's tags argument allows only one tag to be specified.
9 years ago
Toshio Kuratomi ccbc7d217b Update submodule refs 9 years ago
Toshio Kuratomi d1c2d16706 Allow setting run_command environment overrides for the life of an AnsibleModule 9 years ago
Felix Fontein 8eea1c7e01 Allowing multiple tags to be specified in include's tags argument. 9 years ago
Brian Coca 50dfd4b057 fixed bad tag example 9 years ago
Brian Coca ad37a91514 really only want to prevent None typep here
false is sometimes needed
9 years ago
Matt Martz 97e0f29a5b Add/improve tests for the uri module 9 years ago
Matt Martz 0e57c577f4 Add RedirectHandler class and factory function for controlling redirects in urllib2 9 years ago
Tom Paine 9eca815377 Update profile_tasks.md
Converted to RST.
9 years ago
Brian Coca a2762bae3d Merge pull request #14333 from dagwieers/some-typos
A few more typos
9 years ago
Dag Wieers 0a20c53ed6 A few more typos
I came across another typo, and fixed similar ones in the docs.
9 years ago
James Cammarata c79d9a9c62 Handle run_once scenarios in the free strategy
* Raise an error if the action is using BYPASS_HOST_LOOP, to prevent
  unexpected behavior from those actions
* Show a warning regarding tasks marked as run_once, as the free strategy
  does not yet support that behavior
* Minor tweak to linear strategies run_once code to make sure we don't
  raise an error if an action isn't found
9 years ago
James Cammarata 27f9cc05f8 Make sure run_once tasks also set any_errors_fatal so all hosts fail
Currently implemented only in the linear strategy (free strategy simply
ignores run_once/BYPASS_HOST_LOOP actions).

Fixes #14252
9 years ago
James Cammarata b713f1ca53 Fix for copy test as ansible_ssh_user is not set by default now 9 years ago
Brian Coca d2846dbf30 Merge pull request #14280 from bcoca/always_tag_setup
WIP: tag the setup task with always
9 years ago
Brian Coca eed328eed0 Merge pull request #14330 from dagwieers/patch-9
Fix small typo
9 years ago