Commit Graph

19480 Commits (189ae499cf1fd1dc738583a7c10181714cdde085)
 

Author SHA1 Message Date
Michael Scherer 97f16b7700 Port shell snippet to python3/2.4 compatible syntax (#15874) 9 years ago
Michael Scherer 127a37f67c Port the module snippet to python3 (#15870)
vca depend on pyvcloud, who depend on PyYAML 3.10, which
support python 2.5 as a minimum, cf https://github.com/vmware/pyvcloud/blob/master/requirements.txt
and http://pyyaml.org/wiki/PyYAML

vmware.py depend on PyVIM, who depend on python 2.6.

So we can use the modern syntax for both of them.
9 years ago
Michael Scherer e539b2003d Make the facts module run on netbsd (#15833)
It currently fail with

 ansible/module_utils/facts.py\", line 357, in get_service_mgr_facts\r\nKeyError: 'distribution'\r\n"

Since self.facts['distribution'] is used after, we need to make sure
this is set by default and if needed, corrected somewhere for Linux.
9 years ago
feliksik 95cf095222 hashi_vault lookup: be more rebust, and allow fields with other name than 'value' (#13690)
* more robust hashi_vault module, and allow querying specific field in secret-dict

* allow fetching entire secret dict with trailing ':'

* process comment by bcoca for PR #13690
9 years ago
Alexey Kalinin 1d113c384e Fix issue with latest pyvmomi and certificate validation 9 years ago
Toshio Kuratomi b9aafb6f89 Add six to developing_modules documentation 9 years ago
Toshio Kuratomi 0cb05d8ac9 Some Python-3 module_utils support 9 years ago
Toshio Kuratomi 9a69354b6a Start a document for developing modules for python3 9 years ago
chouseknecht 56bb3ec680
Bump core submodule ref. 9 years ago
chouseknecht 7f8a6d11c2
Bumping core submodule ref. 9 years ago
camradal 4bb4c7e68e vCloud module utils error handling bug fixes (#15859)
* Fix AttributeError that hides login errors

* Typo fixes for vca error messages
9 years ago
Robin Roth 85477fa215 Don't use 'from ansible.module_utils import foo' style here as it breaks (#15756)
py.test"
9 years ago
Peter Schaadt 08f71c400f Fixing typo in Inventory documentation. (#15858) 9 years ago
Brian Coca acf3c4dedd removed emepty line 9 years ago
Brian Coca 2ffe30a8c2 converted list to table and added some aliases 9 years ago
James Cammarata 6f6456dff5 Adding a deprecation message for accelerated mode 9 years ago
Thomas Quinot a2c905c32e Fix uninitialized distribution fact on FreeBSD (#15842)
Initialize facts['distribution'] with self.system so that this fact does
not remain uninitialized on systems_platform_working platforms (FreeBSD,
OpenBSD).

Fixes #15841
9 years ago
Nathaniel Case 043e910652 Check for jxmlease when using netconf on JUNOS. (#15835) 9 years ago
James Cammarata 4f0be29d65 Reworking retry/until logic to fix bugs
Prior to this patch, the retry/until logic would fail any task that
succeeded if it took all of the alloted retries to succeed. This patch
reworks the retry/until logic to make things more simple and clear.

Fixes #15697
9 years ago
Nathaniel Case 6d4ba4a161 Fix my IRC handle
Not the first nor last time someone has gotten this wrong, but oddly only
one ofthem was wrong
9 years ago
nitzmahone 145f2df1f6 updated committer IRC nicks/GH IDs 9 years ago
nitzmahone 849cdd90f2 update 2.1 completed roadmap items 9 years ago
Toshio Kuratomi 03d33f0905 Start adding required to docs 9 years ago
jctanner e083fa3d11 Disable sftp batch mode if sshpass (#15829)
Make use of the -oBatchMode=no option to force password prompts from sftp

Addresses #13401
9 years ago
Toshio Kuratomi 119baba6b1 Update submodule refs 9 years ago
Toshio Kuratomi c1cc9f1f23 Merge pull request #15845 from abadger/ziploader-constants
Ship constants to the modules via internal module params rather than a secondary dict
9 years ago
Adrian Likins 28771960a1 Merge pull request #15851 from sivel/py24-urllib2-code
Use .code instead of .getcode() as py24 does not have .getcode()
9 years ago
Matt Martz 878b0dca68 Use .code instead of .getcode() as py24 does not have .getcode(). Fixes https://github.com/ansible/ansible-modules-core/issues/3608 9 years ago
Jason McKerr 5b7896ce7f Update committer_guidelines.rst
Adding Ryan and Adrian
9 years ago
James Cammarata d2bade6daf Make sure setting facts with run_once makes copies of the data
When using run_once, there is only one dict of facts so passing that
to the VariableManager results in the fact cache containing the same
dictionary reference for all hosts in inventory. This patch fixes that
by making sure we pass a copy of the facts dict to VariableManager.

Fixes #14279
9 years ago
Toshio Kuratomi 186337db28 Ship constants to the modules via internal module params rather than a secondary dict. 9 years ago
Matt Davis 2cc50c6dc6 Merge pull request #15799 from bocharsky-bw/patch-1
Highlight SSH protocol types
9 years ago
Matt Davis bc7405efc9 Merge pull request #15797 from robinro/patch-1
reduce async timeout in unittests
9 years ago
Toshio Kuratomi a404d0ffe2 Update submodule refs 9 years ago
Matt Martz a521b70217 Merge pull request #15306 from sivel/ansible-modules-core/issue/3370
Cascade ssh_*args configurations in synchronize
9 years ago
Matt Martz 0fabfee0a8 Merge pull request #15843 from sivel/binary-changelog
Add note to changelog for 2.2 about binary modules
9 years ago
Matt Martz 049e0ba276 Add note to changelog for 2.2 about binary modules 9 years ago
Matt Martz 196453b9b2 Merge pull request #13771 from sivel/binary-modules
First pass at allowing binary modules
9 years ago
Matt Martz 72b6f8244c Merge pull request #15337 from sivel/ignore-profile-crap
Guard against a shell profile printing extraneous data
9 years ago
James Cammarata ae09648068 Merge pull request #15812 from cThrice/patch-3
Fixes #15745 playbook include: Conditional scoping
9 years ago
Toshio Kuratomi b4e78caf25 Merge pull request #15825 from abadger/fix-squashing-traceback
If we can't squash for any reason, then simply do not optimize the items loop.
9 years ago
Matt Martz ca22783086 modify_module does not need to return module_path, as the calling code already has access to it 9 years ago
Matt Martz 34adb54734 Make _is_binary use already read module_data, move _is_binary check to the top of the stack 9 years ago
Matt Martz 651b83d8be Run test_binary_modules 9 years ago
John R Barker 3e7c5d1451 community.rst - Formatting and readability
By using the correct formatting we can avoid the double dash/em dash symbol.

I also took the opportunity to make this a bit more readable. Adding :code:`somecode` makes it a lot easier when someone scans this page to spot things, such as `make tests` is a thing that they should do.

Add in some extra links to the source so people can find more infor
9 years ago
Matt Martz 2e8146c52f Improve documentation about the JSON args file 9 years ago
Matt Martz 0faddfa168 Move binary module detection into executor/module_common.py 9 years ago
Matt Martz 3466e73c50 Resolve test failures 9 years ago
Matt Martz a4d2238e50 Bumping binary modules functionality to 2.2 9 years ago
Matt Martz c22c1b4785 Add note about reading input for binary modules 9 years ago