Commit Graph

19764 Commits (b1d32e6e326d2f99b415c20455db9227c567683c)
 

Author SHA1 Message Date
Chris Houseknecht f961f9f4d0 Merge pull request #16035 from chouseknecht/devel
Bump ansible-modules-core submodule to latest commit.
8 years ago
chouseknecht 38c99fa9d5
Bump ansible-modules-core submodule to commit 90e8a36d4c 8 years ago
Tobias Wolf 328b423a0e Solve performance issue with a large number of groups (#13957)
Ansible excessively checks the file system for the potential presence of
`group_vars` and `host_vars` files.

For large numbers of groups this leads to combinatorial performance
issues.

This commit generates a set of group_vars and host_vars filenames using
`os.listdir()` in every possible location and then checks against the sets
before making a stat of the file system.

Also included in this commit is caching of the base directory lookup
for the inventory.
8 years ago
Brian Coca 011320793b moved validate info from vvv to debug 8 years ago
Chris Houseknecht 2261b2e59a Fix missing ignore_certs (#16018) 8 years ago
= 6615824f4d A few ideas for updating the windows introduction. 8 years ago
Toshio Kuratomi c03555b650 Fix unarchive failures when the destination is a symlink to a directory (#15999)
Also add integration tests for this problem and unicode filenames inside
a tarball.

Fixes #3725
8 years ago
Matt Davis b5bb518279 Merge pull request #16012 from stpierre/list-like-choices
Modules: check for list-like choices in arg spec
8 years ago
Chris St. Pierre bfd69a7042 Modules: check for list-like choices in arg spec
This makes it possible to use anything other than a list (e.g., a
tuple, or dict.keys() in py3k) for argument_spec choices. It also
improves the error messages if you don't use a list type.
8 years ago
James Cammarata 3e03004b6f Use get_dep_chain() instead of directly using a blocks _dep_chain
Child blocks (whether nested or via includes) don't get a copy of the
dependency chain, so the above method should be used to ensure the block
looks at its parents dep chain.

Fixes #15996
8 years ago
Matt Clay b755bcd875 Corrected reference to httptester container. 8 years ago
Matt Clay 9a0ffeca80 Merge pull request #16014 from sivel/httptester-image
Add httptester docker container
8 years ago
Matt Martz 164f247ec8 Add httptester docker container files and update run_tests.sh to use ansible/httptester 8 years ago
Brian Coca 6a0a366746 fixed service fact usage 8 years ago
Brian Coca 329c62e914 docker was deprecated, test now reflects new name 8 years ago
René Moser 176a207c61 Merge pull request #15974 from resmo/feature/vpc
cloudstack: add VPC support
8 years ago
nitzmahone 7b5513cf22 mark azure_rm_X_facts modules as TECH PREVIEW 8 years ago
Ryan Brown cd80413b63 Merge pull request #15986 from dharmabumstead/devel
Incorporated additional tech review feedback.
8 years ago
Brian Coca 48d8fa0380 updated subrefs 8 years ago
Brian Coca 056efc71db updated for service and systemd 8 years ago
nitzmahone b3bf4cecdb add missing azure_rm modules to changelog 8 years ago
Brian Coca 90cbb8c01b re-add the service action plugin (#13001)
* readd the service action plugin, was removed cause it created unexpected fact gathering and there are no split service plugins that would make this useful (yet)
Revert "removed action plugin as service facts and separate modules don't work yet and this forces gathering facts"

This reverts commit 7368030651.

* now only does minimal fact gathering
8 years ago
Scott Butler 1b52acade8 Fixed indenting in samples. 8 years ago
Scott Butler 9fafe5e143 Merge branch 'devel' of https://github.com/ansible/ansible into devel 8 years ago
Toshio Kuratomi 3b69ef7e8b Add strings 'True' and 'False' as booleans as python bools converted to strings will look that way.
Workaround for custom modules which are using choices=BOOLEANS instead
of type='bool'.
8 years ago
Scott Butler 189ae499cf Typo fix 8 years ago
Scott Butler 9fcb6635fa Typo fixes 8 years ago
Scott Butler 813d4435ca Incorporated additional tech review feedback. 8 years ago
Matt Martz d08fda9320 Merge pull request #15985 from alikins/vault_keyring_15984_fix
fix vault-keyring.py 'No [vault] section' error
8 years ago
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
8 years ago
Rene Moser 62c424797a cloudstack: add common network code
Also used for VPC support.
8 years ago
Toshio Kuratomi 650bfdce8f Update grep for six to not falsely trigger when six is only a substring of a different library 8 years ago
Brian Coca de7b0e9da1 made `def main` an explicit requirement 8 years ago
Toshio Kuratomi a2bef45cf6 Update submodule refs 8 years ago
Toshio Kuratomi d45a394f63 Mocate ansible_ssh_changes into a common directory 8 years ago
Toshio Kuratomi 9ef814e782 Documentation fixes 8 years ago
Toshio Kuratomi 6d18999c6f f 8 years ago
Toshio Kuratomi 7fb0f75db6 Update the Ansiballz developer docs 8 years ago
Robin Roth 0edec45c3d install packages for tests (#15979)
* curl is needed for test_binary_modules
* glibc-i18ndata is needed for postgresql (localedef)
8 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.
8 years ago
Adam Chainz 064ed63843 Fix ec2 inventory for potentially inconsistent data (#12642) 8 years ago
Brian Coca 52a0165c77 skip non executable inventory when no shebang (#15969)
alternate fix #15934
8 years ago
Rene Moser fe05c5e35a cloudstack: add VPC support 8 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.
8 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.
8 years ago
Brian Coca c8f0cdbdfd renamed systemd detection function 8 years ago
James Cammarata 733d017ad0 Save and restore the loader's basedir when loading playbooks
Fixes #15930
8 years ago
Brian Coca 6c0b974bde added new modules 8 years ago
Michael Scherer f9f6f24acd Add a alias for 'long' since python3 do not have it (#15952) 8 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
8 years ago