Commit Graph

19942 Commits (4fd87f2dc6acc55949bfcc805cbd1c01de1533c9)
 

Author SHA1 Message Date
Adrian Likins 644f0fb190 Merge pull request #15178 from alikins/galaxy_info_output
galaxy info displayed 'galaxy_info' section wrong [fix for #15177]
9 years ago
Brian Coca 3387d557bc Revert "Add prefixing and suffixing fuctionality to assemble module" (#16084) 9 years ago
Matt Clay a596ba3106 Merge pull request #16079 from mattclay/pass-tests
Skip some service tests for systemd.
9 years ago
Matt Clay e45b3b89a2 Skip some service tests for systemd. 9 years ago
jctanner c52cea8db3 Add a framework, fixtures and test for common synchronize scenarios. (#15983)
* Add a framework, fixtures and test for common synchronize scenarios.

Addresses #15905
9 years ago
Matt Clay 10a07fcc26 Update submodule refs. 9 years ago
Chris Houseknecht ce34397cf8 Merge pull request #10399 from underyx/assemble-with-prefix-and-suffix
Add prefixing and suffixing fuctionality to assemble module
9 years ago
jctanner 373b23cc24 Fix mock loader for osx /etc symlinks (#16074)
Fix role based unit tests for osx via mock.patch
9 years ago
Robin Roth c06884eff0 Run tests on ubuntu1604 and opensuseleap (#15936)
* reduce async sleep time in test
* make zypper test less destructive (don't break following uses of zypper)
* fix ca cert on suse
* fix/enable postgres/mysql on opensuseleap
* fix mysql test for mysql versions 5.7.6 and newer
* skip sni_host check on ubuntu1604
* add HTTPTESTER flag for test_uri

ubuntu 16.04 uses dash which drops env variables containing a dot
we work around this by adding an explicit env variable to enable httptester
9 years ago
Bence Nagy 13210e346f Add integration test for assemble with a header and a footer 9 years ago
Bence Nagy fadef43af7 Add header and footer support to assemble action 9 years ago
Matt Clay 027006b846 Don't use TEST_FLAGS for the test_tags target.
This allows use of --skip-tag in TEST_FLAGS without conflicting with the test.
9 years ago
Matt Clay 844b415066 Mark tasks expected to fail with EXPECTED FAILURE.
This allows for automated identification of tasks which are
expected to fail, but which cannot use ignore_errors because
they need to fail.
9 years ago
Matt Clay 126bc40ecf Do not remove exception from result, hide output.
This allows all callback plugins access to exception details.
9 years ago
Adrian Likins 1468538414 galaxy info displayed 'galaxy_info' section wrong
The output of 'ansible-galaxy info' was formatting the
'galaxy_info' key with one char per line.

Previously, when building the output string, items in
role_info that had a dict for value, the label for
it's key ('galaxy_info' for ex) was being added to
the text list in addition to being appended. Only
the append is needed.

Also added a unit test in test/units/cli/test_galaxy.py,
but skip it on py3 until galaxy is py3 compatible.

fixes #15177
9 years ago
Brian Coca 4c3c294a03 fixed confusing reporting when no hosts are matched
it was hitting 'empty inventory' warning.
9 years ago
Devin Waas 01decf4166 added necessary argument (#16067)
E.G.
~~~~

# ./openstack.py --refresh
usage: openstack.py [-h] [--private] [--refresh] [--debug]
                    (--list | --host HOST)
openstack.py: error: one of the arguments --list --host is required
9 years ago
Brian Coca e63bf1d86e fix version/help when missing action
also fixed issues with galaxy cli options
9 years ago
Brian Coca eaa7b9c0b7 treat roles_path as the list it is for galaxy list 9 years ago
Andrey Shestakov 295c7ce1c8 Fix sleep intervals (14219) 9 years ago
jctanner 018d3c3118 Add a new vmware inventory script backed by pyvmomi (#15967)
Add a new dynamic vmware inventory script backed by pyvmomi
9 years ago
Sven-Hendrik Haase d81b9ca29e Fix grammar (#16037) 9 years ago
Rene Moser 1c1f0a62b3
doc: changelog: add cs_snapshot_policy module 9 years ago
Jörg Thalheim 88482234e6
lxc connection plugin 9 years ago
Lars Kellogg-Stedman 51f88b6688 docs: add some examples to the documentation for become
there were some questions on `#ansible` about the `become` suite of
directives, and I thought it would be helpful if this document had an
example or two.
9 years ago
Chris Houseknecht f961f9f4d0 Merge pull request #16035 from chouseknecht/devel
Bump ansible-modules-core submodule to latest commit.
9 years ago
chouseknecht 38c99fa9d5
Bump ansible-modules-core submodule to commit 90e8a36d4c 9 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.
9 years ago
Brian Coca 011320793b moved validate info from vvv to debug 9 years ago
Chris Houseknecht 2261b2e59a Fix missing ignore_certs (#16018) 9 years ago
= 6615824f4d A few ideas for updating the windows introduction. 9 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
9 years ago
Matt Davis b5bb518279 Merge pull request #16012 from stpierre/list-like-choices
Modules: check for list-like choices in arg spec
9 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.
9 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
9 years ago
Matt Clay b755bcd875 Corrected reference to httptester container. 9 years ago
Matt Clay 9a0ffeca80 Merge pull request #16014 from sivel/httptester-image
Add httptester docker container
9 years ago
Matt Martz 164f247ec8 Add httptester docker container files and update run_tests.sh to use ansible/httptester 9 years ago
Brian Coca 6a0a366746 fixed service fact usage 9 years ago
Brian Coca 329c62e914 docker was deprecated, test now reflects new name 9 years ago
René Moser 176a207c61 Merge pull request #15974 from resmo/feature/vpc
cloudstack: add VPC support
9 years ago
nitzmahone 7b5513cf22 mark azure_rm_X_facts modules as TECH PREVIEW 9 years ago
Ryan Brown cd80413b63 Merge pull request #15986 from dharmabumstead/devel
Incorporated additional tech review feedback.
9 years ago
Brian Coca 48d8fa0380 updated subrefs 9 years ago
Brian Coca 056efc71db updated for service and systemd 9 years ago
nitzmahone b3bf4cecdb add missing azure_rm modules to changelog 9 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
9 years ago
Scott Butler 1b52acade8 Fixed indenting in samples. 9 years ago
Scott Butler 9fafe5e143 Merge branch 'devel' of https://github.com/ansible/ansible into devel 9 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'.
9 years ago