summaryrefslogtreecommitdiffstats
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Account for empty string regexp in lineinfile (#41451)Sam Doran2018-06-251-0/+34
| | | | | | | | | | | | * Use context managers for interacting with files * Account for empty string as regexp Rather than explicitly testing for None, also test for an empty string which will evaluate to False. An empty string regexp matches every line, which ends up replacing the incorrect line. * Store line parameter in a variable * Add tests
* Skip if insertbefore BOF until later (#41767)Sam Doran2018-06-251-5/+14
| | | | | If a line match is found in the file and no regexp is specified, insertbefore would improperly try to add a line if set to BOF. Add tests for this scenario.
* Stop displaying kinit pass input on a failure (#41882)Jordan Borean2018-06-251-0/+46
| | | | | | * Stop displaying kinit pass input on a failure * Fixed up minor logic info and added tests
* Fix rabbitmq_* integration tests (#41836)Martin Krizek2018-06-254-3/+13
|
* [aws] add limit on number of CloudFormation stack events fetched by ↵Dennis Benkert2018-06-251-5/+8
| | | | | | | cloudformation module (#41840) * Add a module parameter to configure the max fetched AWS CFN stack events * Add version documentation for new configuration option * Increase default in order to make sure that enough are fetched by default. This align roughly with the limit of manageable resources in CloudFormation.
* vyos and ios cliconf plugin refactor (#41846)Ganesh Nalawade2018-06-251-1/+22
| | | | | | | | | | | | | | * vyos and ios cliconf plugin refactor * Refactor vyos cliconf plugin * Change vyos module_utils and vyos_config as per refactor * Minor changes in ios cliconf plugin * Fix unit test failure * Fix sanity issues * Add get_diff to rpc list
* win_chocolatey: always return the rc return value (#41883)Jordan Borean2018-06-251-0/+4
|
* cloudstack: new module cs_disk_offering (#41795)David Passante2018-06-233-0/+148
|
* Netconf bytes fixes (#41607)Nathaniel Case2018-06-221-1/+1
| | | | | | | * Solve some bytes issues on iosxr * Solve some bytes issues in junos * Do the correct thing with tostring based on lxml or not
* Fix: wildcard excludes in unarchive with tar archives (#40935)Sijis Aviles2018-06-221-9/+53
| | | | | | | | | | | | | | | | | * fix: exclude using wildcards for tar archives Fixes #37842, #22947 * fix: Remove quote() as it munges the exclude format * test: Refactor to use single archive structure A common structure archived by different methods should simplify some of the feature tests. * test: Use common archive layout to validate exclude feature * test: Use the same exclude checks for zip/tar archives
* Add random_mac string filter (#39775)Olivier Bourdon2018-06-211-1/+43
| | | | | Add new filter to generate random MAC addresses from string prefix. See docs/docsite/rst/user_guide/playbooks_filters.rst for more detailed infos.
* Disable remaining failing rabbitmq_* tests.Matt Clay2018-06-212-0/+2
|
* fix minor issues with debug and item labels (#41331)Brian Coca2018-06-211-0/+17
| | | | | | | * fix minor issues with debug and item labels - no more `item=None`, we always have a label now - debug should only show expected information, either msg= or the var in var= - also fixed method name, deprecated misleading _get_item
* Disable failing rabbitmq_plugin test.Matt Clay2018-06-211-0/+1
|
* Add shell out checks (#41545)Andrea Tartaglia2018-06-212-1/+38
| | | | | | | | | | | | | | | | | | * Added error codes for shell_out checks * Added ignore lines for allowed Modules * Added shell out checks * Fixed pep8 * Updated regex to only match subprocess.Popen * Added failing modules to ignore.txt * Wrong postgresql module in ignore.txt * Removed bigip from ignore.txt
* new provider: ownca (#35840)Loïc2018-06-215-115/+283
|
* ecs_service: make assign_public_ip option a boolean (#41759)Sloane Hertel2018-06-212-2/+2
|
* win_updates fix when win_updates is run with async (#41756)Jordan Borean2018-06-201-0/+37
|
* Argument spec must be dict/hash (#40858)Abhijeet Kasurde2018-06-201-0/+7
| | | | | validate-modules should fail when argument is not dict/hash. Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* net_put module: add default mode to copy binary files (#41476)Deepak Agrawal2018-06-201-0/+16
| | | | | | | | * add default mode to copy binary files * sanity fix * add version for new options
* New module - meraki_switchport (#41634)Kevin Breit2018-06-202-0/+280
| | | | | | | | | * Initial commit for meraki_switchport module - Query or modify swichport configurations - Further optimizations are available - Integration tests will require manual editing of file for others * Remove blank lines
* New module - meraki_config_template (#41633)Kevin Breit2018-06-202-0/+105
| | | | | | | | | | | | | | * Implement configuration template management - Queries or removes templates - Can bind or unbind templates to networks - Module is idempotent only for binding and unbinding - Meraki does not allow template creation via API - Integration test is tedious b/c previous bullet point - Fixed bug in construct_path() so it won't set self.function * PEP8 changes * Re-enable some integration tests, use variables, and fix broken code
* New module - meraki_vlan (#41632)Kevin Breit2018-06-202-0/+303
| | | | | | | | | | | | | | | * Initial commit of meraki_vlan module - Create, delete, modify, and query VLANs within a network - Support for all allowed objects in the VLAN data structure - Meraki defaults networks to have VLANs disabled and there is no way to use the API to enable VLAN support. It must be enabled manually. * Fix formatting error in documentation * Formatting changes and added documentation * PEP8 fix
* New module - meraki_device (#41631)Kevin Breit2018-06-202-0/+203
| | | | | | | | | | | | | | | | | | * Initial commit for meraki_device module - Allow claiming, removal, updating, and querying of devices - Integration tests are included - Integration tests are not complete because physical gear is required - Integration tests also require Meraki subscriptions * Added support for serial number query without network * Added support for net_id and net_name * Changes recommended by ansible-test for PEP8 and documentation * Remove duplicate state in example * Fix typo
* Improve support for org_id in module (#41519)Kevin Breit2018-06-201-1/+1
| | | | - Faster performance since it reduces number of API calls - Also simplified some of the execution
* Improved support for parameter testing and checks for org_id (#41517)Kevin Breit2018-06-201-3/+31
|
* Added support for passing org_id instead of org_name (#41518)Kevin Breit2018-06-201-0/+26
| | | | | - Faster execution if passed instead of org_name - Updated documentation - Added additional integration tests
* Temporarily disable gem test on osx.Matt Clay2018-06-201-0/+1
| | | | Disabled due to lack of newer TLS version support on the test system.
* [ecs_service] fix assign_public_ip network configuration to module parameter ↵Sloane Hertel2018-06-194-6/+12
| | | | | | | | | | | rather than fixed string (#41689) Fix parameter name Use suboptions document suboptions Add a test to assert assign_public_ip is configurable
* Fix vyos_vlan aggregate issue & added tests (#41638)Nilashish Chakraborty2018-06-191-0/+26
| | | | | | * Fix vyos_vlan aggregate issue & Added tests * Fix #2 for vyos_vlan aggregate issue
* [ecs_service] fix assign_public ip for network configuration (#41685)Deepakkothandan2018-06-192-0/+136
| | | | | | * fix assign_public ip for ecs_service * used module.botocore_at_least instead of distutils
* Fixes the default assignment of values (#41672)Tim Rupp2018-06-191-1/+1
| | | | | | Fixes: #41640 The defaults should be inherited from the parent during initial creation. This patch fixes that.
* facts: suse: Fix major version detection for SUSE (#41416)Markos Chandras2018-06-181-1/+23
| | | | | | | | | | | | | | | | | | | | | | When parsing the distribution files such as /etc/os-release, we extract the full distribution version but not the major version. As such, the ansible_distribution_major_version ends up being 'NA' whereas the ansible_distribution_version contains the full version. Before this patch we get this on openSUSE Leap 15 ansible -o localhost -m setup -a filter=ansible_distribution_major_version localhost | SUCCESS => {"ansible_facts": {"ansible_distribution_major_version": "NA"}, "changed": false} After this patch we get this ansible -o localhost -m setup -a filter=ansible_distribution_major_version localhost | SUCCESS => {"ansible_facts": {"ansible_distribution_major_version": "15"}, "changed": false} This also fixes the Tumbleweed distribution test to report a proper major version and also adds a test for openSUSE Leap 15.0 to avoid potential future regressions. Fixes: #41410
* Fixes usage of popen in bigip iapplx package (#41612)Tim Rupp2018-06-161-1/+1
| | | | This functionality is superceeded by the run_command method in the ansible module class.
* skip winrm unit tests if winrm is not installed (#41596)Matt Davis2018-06-151-0/+2
|
* docker: Allow publishing of ports with the same number but different ↵Sharp Hall2018-06-152-0/+19
| | | | | | | | protocol (#38412) * Don't deduplicate docker container ports with different protocols * Test _parse_exposed_ports
* accept + and - modifiers for file attributes (#40061)Andreas Calminder2018-06-141-3/+19
| | | | * accept + and - modifiers for file attributes * tests for adding/removing file attributes
* don't retrieve config in running_config when config is provided for diff ↵Trishna Guha2018-06-146-0/+100
| | | | | | | | | | | | | | | | (#41400) * don't retrieve config in running_config when config is provided for diff Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * fix for eos, nxos Signed-off-by: Trishna Guha <trishnaguha17@gmail.com> * add integration test Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix reload smu issue (#41270)saichint2018-06-141-2/+60
| | | | | | * fix reload smu issue * review comments
* expand user before calling abspath (#40196)Ben Berry2018-06-141-0/+1
| | | | | | * expand user before calling abspath * omit expanduser code smell check for volumes
* reappied changes in a new pr (#41228)Zim Kalinowski2018-06-137-19/+17
|
* Disable failing acme_account integration test.Matt Clay2018-06-131-0/+1
|
* Tasks that are expected to fail need to begin with a special stringToshio Kuratomi2018-06-131-1/+1
|
* no_log even when task_result doesn't provide keyBrian Coca2018-06-121-0/+27
| | | | | - now also checks task property - added reproducer to tests for unreachable status on item loop
* When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalze (#41408)Matt Martz2018-06-125-7/+20
| | | | | | | | * When using ANSIBLE_JINJA2_NATIVE bypass our None filtering in _finalize. Fixes #41392 * Add tests for _finalize bypass * Address python3 failures in tests
* more integration test improvements (#41184)Zim Kalinowski2018-06-125-147/+210
|
* Default squash actions add pip (#41390)Pilou2018-06-122-35/+44
| | | | | | | | | | | | | | | | | | | | | | | | * pip tests: remove trailing spaces * pip tests: use Jinja tests * fixup! pip tests: remove trailing spaces * pip tests: use 'command' instead of 'shell' module * pip tests: remove unused variable * pip tests: use a package with fewer dependencies sampleproject has one dependency: 'peppercorn' and peppercorn doesn't have any dependency. * pip tests: check that 'name' param handles list * pip: squash package parameters Note that squashing will be removed in 2.11, new code should directly use a list with the 'name' parameter.
* Revert "Revert "Remove VC scaleway (#40791)" (#41401)" (#41402)Adam Miller2018-06-111-19/+19
| | | This reverts commit 391509006ce73c707753fac29b6b494b6f6cba72.
* Revert "Remove VC scaleway (#40791)" (#41401)Adam Miller2018-06-111-19/+19
| | | This reverts commit 007127ea27b7dcadba8f297ccb953d42e3d3d22d.
* Remove VC scaleway (#40791)Rémy Léone2018-06-111-19/+19
|