Commit Graph

17923 Commits (f3b691ccafc6c8cec24e670f7b40c58527222063)
 

Author SHA1 Message Date
Michael 519952d7d7 Fix module name 9 years ago
Brian Coca b7dcd7a3a0 pass diff and verbosity settings to modules
also simplifies and guarantees that all flags are always passed, even when false
this should make checks simpler as you always expect them to exist
9 years ago
Toshio Kuratomi d26d76ea58 Fix typo 9 years ago
Toshio Kuratomi 46903c80fa More fixes for unicode handling in the connection plugins.
Tested that ssh, docker, local, lxc-libvirt, chroot all work with the
updated unicode integration test.
9 years ago
Sandra Wills 669b311dbe Merge pull request #13740 from docschick/devel
removed the "wy-side-nav-search" element
9 years ago
James Cammarata 90cb7e1937 Don't drop noops from task counting code in linear strategy 9 years ago
Tomasz Kontusz 9ac9c75d76 linear strategy: don't look at tasks from the next block 9 years ago
Sandra Wills ab2f47327a removed the "wy-side-nav-search" element
this is so we can use the new swiftype search and it's search input
9 years ago
muffl0n 11b55be5bb Show version without supplying a dummy action
fixes #12004
parsing x2 does not seem to break anything
9 years ago
Brian Coca f7143d09a6 Merge pull request #13737 from amenonsen/typo-fix
Strip string terms before templating
9 years ago
Abhijit Menon-Sen 7c8374e0f8 Strip string terms before templating
The earlier code did call terms.strip(), but ignored the return value
instead of passing that in to templar.template(). Clearly an oversight.
9 years ago
James Cammarata dc47c25e58 Minor tweak to ensure diff is not empty in callback for file diffs 9 years ago
Charles Paul a65543bbaf adding password no_log and cleaning up argument spec 9 years ago
Brian Coca 095790ac5c Merge pull request #13691 from bcoca/colors
output color is now configurable
9 years ago
Brian Coca 84f46701d0 Merge pull request #13626 from bcoca/hostvars_vars
move hostvars.vars to vars
9 years ago
Brian Coca f3c45adfb8 simplified diff handling in callback
no need for the copy or other complexity
9 years ago
Brian Coca 9972c27a9b now handles 'non file diffs'
this allows modules to pass back a 'diff' dict and it will still show using the file interface
9 years ago
Toshio Kuratomi 22d4dc9d85 Merge pull request #13700 from feliksik/shred-vault-tmpfile
[security] shred ansible-vault tmp_file. Also when editor is interruped
9 years ago
Eric Feliksik 11ce08b9dd cleaner implementation and random chunk length. 9 years ago
Toshio Kuratomi 6470f7de2c Update submodule refs 9 years ago
Toshio Kuratomi b7da465bb0 Merge pull request #13729 from ansible/connection-plugins-unicode-fix
Connection plugins unicode fix
9 years ago
Sandra Wills 5cd9851422 Merge pull request #13725 from jlmitch5/fixDocSiteAds
Fix doc site ads
9 years ago
Toshio Kuratomi c0a8cd950b Fix problems with non-ascii values passed as part of the command to connection plugins
@drybjed discovered this with non-ascii environment variables and
command line arguments to script and raw module.
9 years ago
Bruno Almeida do Lago 9e32099b5e Added OpenStack dynamic inventory example
Added an example illustrating how to use the OpenStack dynamic inventory script
to the "Dynamic Inventory" section.
9 years ago
Toshio Kuratomi 8d57ffd16b Revert "Transform the command we pass to subprocess into a byte string in _low_level-exec_command"
This reverts commit 0c013f592a.

Going to do this in the connection plugin
9 years ago
Toshio Kuratomi 1ed3a018eb Revert "Fix make tests-py3 on devel. Fix for https://github.com/ansible/ansible/issues/13638."
This reverts commit e70061334a.

Going to do this in the connection plugins
9 years ago
Toshio Kuratomi 559ba467c0 Revert "Convert to bytes later so that make_become_command can jsut operate on text type."
This reverts commit c4da5840b5.

Going to do this in the connection plugins
9 years ago
John Mitchell 1c3b16c2dd udpate copyright date 9 years ago
John Mitchell 692ef6dcc9 made docsite ads configurable by marketing 9 years ago
John Mitchell 0d7c328459 fixed css minification make target for docsite 9 years ago
Eric Feliksik 151e09d129 use unix shred if possible, otherwise fast custom impl; do not shred encrypted file 9 years ago
Brian Coca cd3cfa93bf Merge pull request #13724 from mscherer/no_changed_on_group_by
Do not set 'changed' to True when using group_by
9 years ago
Toshio Kuratomi f806c06bf0 Merge pull request #13722 from knope/devel
minor grammar error was making me pull hair out
9 years ago
Fuentes, Christopher de529c1734 minor grammar error was making me pull hair out 9 years ago
Eric Feliksik 1e911375e8 add docs, remove unnecessary int() cast 9 years ago
Michael Scherer 8599c56670 Do not set 'changed' to True when using group_by
Since group_by is not changing in any way to the remote
system, there is no change. This also make things more consistent
with the set_fact plugin.
9 years ago
Eric Feliksik 7193d27acc add os.fsync() so that the shredding data (hopefully) hits the drive 9 years ago
James Cammarata 210cf06d9a Tweak how strategies evaluate failed hosts via the iterator and bug fixes
* Added additional methods to the iterator code to assess host failures
  while also taking into account the block rescue/always states
* Fixed bugs in the free strategy, where results were not always being
  processed after being collected
* Added some prettier printing to the state output from iterator

Fixes #13699
9 years ago
Brian Coca 6f2f7a79b3 add support for diff in file settings
this allows modules to report on what specifically changed when using
common file functions
9 years ago
Toshio Kuratomi 5a33004b18 Merge pull request #13708 from Yannig/devel_fix_to_string_not_defined
Replace to_string by to_unicode.
9 years ago
Yannig Perré c4d2dbfcdb Replace to_string by to_unicode.
Fix https://github.com/ansible/ansible/issues/13707
9 years ago
James Cammarata 34b78639b7 Merge pull request #13695 from mgarstecki/patch-1
Correction of a double negation
9 years ago
James Cammarata 17ad0d70d9 Merge pull request #13704 from sengaya/fix-unsupported-format-character
Fix unsupported format character
9 years ago
Thilo Uttendorfer 5c34be15b1 Fix unsupported format character 9 years ago
James Cammarata e39e8ba308 Fix logic mistake in unarchive action plugin 9 years ago
Eric Feliksik 946b82bef7 shred ansible-vault tmp_file. Also when editor is interruped. 9 years ago
mgarstecki 5accc98587 Correction of a double negation
The sentence seemed to imply that return codes from modules are significant, while they are not. The second part of the sentence confirms this, as it advises to use standard return codes only for future proofing.
9 years ago
Brian Coca d3deb24ead output color is now configurable 9 years ago
James Cammarata 2d11cfab92 Squashed commit of the following:
commit 24efa310b58c431b4d888a6315d1285da918f670
Author: James Cammarata <jimi@sngx.net>
Date:   Tue Dec 29 11:23:52 2015 -0500

    Adding an additional test for copy exclusion

    Adds a negative test for the situation when an exclusion doesn't
    exist in the target to be copied.

commit 643ba054877cf042177d65e6e2958178bdd2fe88
Merge: e6ee59f 66a8f7e
Author: James Cammarata <jimi@sngx.net>
Date:   Tue Dec 29 10:59:18 2015 -0500

    Merge branch 'speedup' of https://github.com/chrismeyersfsu/ansible into chrismeyersfsu-speedup

commit 66a8f7e873
Author: Chris Meyers <chris.meyers.fsu@gmail.com>
Date:   Mon Dec 28 09:47:00 2015 -0500

    better api and tests added

    * _copy_results = deepcopy for better performance
    * _copy_results_exclude to deepcopy but exclude certain fields. Pop
    fields that do not need to be deep copied. Re-assign popped fields
    after deep copy so we don't modify the original, to be copied, object.
    * _copy_results_exclude unit tests

commit 93490960ff
Author: Chris Meyers <chris.meyers.fsu@gmail.com>
Date:   Fri Dec 25 23:17:26 2015 -0600

    remove uneeded deepcopy fields
9 years ago
Brian Coca e6ee59fafe Merge pull request #13683 from bcoca/reset_vars
added newer vars to 'reset_vars'
9 years ago