Commit Graph

19631 Commits (a9aab76fa2a38f1b4cfe4e6fc201a99b49eeeae8)
 

Author SHA1 Message Date
Adrian Likins 675561e116 fix vault-keyring.py 'No [vault] section' error
vault-keyring.py was using an older version of
the ansible.constants.load_config_file() API.
The newer version returns a tuple, which caused
the config load to fail and a catch all exception
to blame it on a missing section.

Update to new API, and catch the ConfigParser error
specifically.

Fixes #15984
9 years ago
Rene Moser 62c424797a cloudstack: add common network code
Also used for VPC support.
9 years ago
Toshio Kuratomi 650bfdce8f Update grep for six to not falsely trigger when six is only a substring of a different library 9 years ago
Brian Coca de7b0e9da1 made `def main` an explicit requirement 9 years ago
Toshio Kuratomi a2bef45cf6 Update submodule refs 9 years ago
Toshio Kuratomi d45a394f63 Mocate ansible_ssh_changes into a common directory 9 years ago
Toshio Kuratomi 9ef814e782 Documentation fixes 9 years ago
Toshio Kuratomi 6d18999c6f f 9 years ago
Toshio Kuratomi 7fb0f75db6 Update the Ansiballz developer docs 9 years ago
Robin Roth 0edec45c3d install packages for tests (#15979)
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
9 years ago
Tim Rupp 9041a0fee9 Adds a general purpose Exception class for F5 modules (#15977)
This class can be used by F5 modules for raising exceptions.
This should be used to handle known errors and raise them so
that they can be printed in the fail_json method.

The common Exception class built-in should not be used because
it hides tracebacks that are necessary to have when debugging
problems with the module.
9 years ago
Adam Chainz 064ed63843 Fix ec2 inventory for potentially inconsistent data (#12642) 9 years ago
Brian Coca 52a0165c77 skip non executable inventory when no shebang (#15969)
alternate fix #15934
9 years ago
Rene Moser fe05c5e35a cloudstack: add VPC support 9 years ago
Dag Wieers f9c4fdab40 Move comments out of code-blocks (#15961)
In hindsight, I think it is better to have empty code-blocks
then comment placeholders when people don't replace those sections.
9 years ago
Michael Scherer cf44db58e0 Add SEQUENCETYPE to handle the dict_keys type (#15953)
On python 3, there is a specific type for dict keys
instead of list, so previous tests based on Sequence didn't
not work anymore.
9 years ago
Brian Coca c8f0cdbdfd renamed systemd detection function 9 years ago
James Cammarata 733d017ad0 Save and restore the loader's basedir when loading playbooks
Fixes #15930
9 years ago
Brian Coca 6c0b974bde added new modules 9 years ago
Michael Scherer f9f6f24acd Add a alias for 'long' since python3 do not have it (#15952) 9 years ago
James Cammarata 72b29d122e When adding nested blocks, don't pass in any parent includes
We previously changed block behavior to prefer includes over parent
blocks, which broke inheritence in nested blocks.

Fixes #15926
9 years ago
Sven-Hendrik Haase 070af51370 Update for preferred syntax (#15945) 9 years ago
André Cruz 1fdb7613f1 Fix whitespace. 9 years ago
André Cruz 18831c72f9 Use the python executable specified by the environment. 9 years ago
Michael Schmid 566690a44a Fixes #15915: New HandlerTaskInclude Class which can run TaskIncludes inside Handlers 9 years ago
Toshio Kuratomi b75895df9b Fix the error handling for loop squashing to restore the name argument into the task args 9 years ago
nitzmahone a0ff49194e bump submodule refs 9 years ago
Matt Davis 5825958a5a Merge pull request #15275 from Cryptophobia/devel
Update ConfigureRemotingForAnsible.ps1
9 years ago
Matt Clay 0e8930640a Add support for shippable.com CI tests.
This will allow offloading sanity tests from Travis to Shippable.
9 years ago
Brian Coca dd4c56e4d6 updated diff description to match current diff 9 years ago
John R Barker 1861151fa4 [WIP] Extra test and build dependencies in Docker images (#15692)
* Merge conflicts:

* [skip ci] Revert changes to run_tests.sh

gundalow will update this in a different PR

* [skip ci] Add in ubuntu1604 and opensuseleap

NOTE: We are not configuring anything to use these new images yet.
Therefore no impact on Travis performance

* python-mysql for opensuse

* It's mysql-server on centos6
9 years ago
Victor Costan 8d3da09eae contrib/inventory/ec2.py can read AWS credentials from ec2.ini (#15378) 9 years ago
Brian Coca f56fc92532 added verbose module path info to changelog 9 years ago
Brian Coca 4821dc66ad now we show path from which we load module on vvv
also added remote module location on debug
9 years ago
Brian Coca 38cca53669 return friendlier error when failing to make dirs 9 years ago
jctanner 5bb4ee0c1e Avoid duplicate system related fact calls. (#15716)
* Avoid duplicate system related fact calls.

Addresses #1461
9 years ago
Toshio Kuratomi b41b6b2ec5 Update test off make_become for ssh pty race mitigation (#15931) 9 years ago
Toshio Kuratomi 97791f8b4e Update submodule refs 9 years ago
Matt Davis aee3b2e430 Merge pull request #15919 from camradal/devel
Fix issue with latest pyvmomi and certificate validation
9 years ago
Peter Oliver 95cfceda98 Catch DistributionNotFound when pycrypto is absent (#15731)
* Catch DistributionNotFound when pycrypto is absent

On Solaris 11, module `pkg_resources` throws `DistributionNotFound` on import if `cryptography` is installed but `pycrypto` is not.  This change causes that situation to be handled gracefully.

I'm not using Paramiko or Vault, so I my understanding is that I don't
need `pycrpto`.  I could install `pycrypto` to make the error go away, but:
- The latest released version of `pycrypto` doesn't build cleanly on Solaris (https://github.com/dlitz/pycrypto/issues/184).
- Solaris includes an old version of GMP that triggers warnings every time Ansible runs (https://github.com/ansible/ansible/issues/6941).  I notice that I can silence these warnings with `system_warnings` in `ansible.cfg`, but not installing `pycrypto` seems like a safer solution.

* Ignore only `pkg_resources.DistributionNotFound`, not other exceptions.
9 years ago
Matt Clay bad293ae35 Add work-around for ssh pty race condition.
This should minimize loss of stdout when using
a pty and connecting with ssh or paramiko_ssh.
9 years ago
René Moser aa9a054b61 docs: changelog: new module cs_router (#15897) 9 years ago
René Moser ff62d7bbbd docs: cloudstack: add cloudstack guide to doc fragments (#15898) 9 years ago
Toshio Kuratomi 8789cfb514 Update the way we make a module be tested for py3 syntax compliance 9 years ago
Sandra Wills 9c13c7b139 Merge pull request #15804 from docschick/devel
updated video link in quickstart with link from danlondon/ansible mar…
9 years ago
Sandra Wills 56fc2ce3ad Merge pull request #15840 from gundalow/patch-1
community.rst - Formatting and readability
9 years ago
Toshio Kuratomi 8363ef43c9 Update submodule refs 9 years ago
Toshio Kuratomi 0d16782a22 Python3 syntax compatibility for modules 9 years ago
Toshio Kuratomi c37252eeca Update python3 module porting doc with new location of pycompat 9 years ago
Matt Davis ec2cb07988 Make 'required' optional in module docs (#15906)
Updated module dev docs, doc build, ansible-doc to match
9 years ago