rajaspachipulusu17
e2d92e82c4
Pluribus Networks network cli terminal and cliconf plugins ( #53735 )
...
* Pluribus Networks network cli terminal and cliconf plugins
* Changes in Unit tests and modules according to network_cli connection
* Changes in Unit tests and modules according to network_cli connection
2019-03-15 13:51:50 +05:30
Felix Fontein
77f7e5a986
Only use ports in the range 9001-9060.
2019-03-14 23:50:41 -07:00
Jordan Borean
cac3c6efcf
win_chocolatey - Fix incompatibilities with latest Chocolatey release ( #53841 )
2019-03-15 16:40:30 +10:00
Jordan Borean
e0c0e9a10b
win_chocolatey_source - don't rely on cmd to get source info ( #53837 )
2019-03-15 16:26:48 +10:00
Jordan Borean
d00418c924
win_slurp - fix glob like paths ( #53831 )
2019-03-15 14:59:01 +10:00
Jordan Borean
d063cefb64
win_owner - fix glob like paths ( #53830 )
...
* win_owner - fix glob like paths
* Fix issues on older PS versions
2019-03-15 14:58:15 +10:00
Jordan Borean
3cfa71bff0
win_acl_inheritance - fix glob like paths ( #53829 )
2019-03-15 14:57:59 +10:00
Jordan Borean
aba6f5f50d
win_acl - fix glob file paths ( #53828 )
2019-03-15 14:57:41 +10:00
Jordan Borean
4f9de45785
win_tempfile - return absolute path on created temp file ( #53827 )
...
* win_tempfile - return absolute path on created temp file
* Fix tests for CI
2019-03-15 14:57:27 +10:00
Matt Clay
17ed39a009
Fix uri integration test uninstall of urllib3. ( #53834 )
2019-03-14 21:52:03 -07:00
Sam Doran
1e595493d9
User module - Check local database when local is specified in the task ( #51088 )
...
The output of pw.getpwnam() does not distinbuish between local and remote accounts. It will return a result if an account exists locally or in the directory. When local is set to True in the task parameters, look through the local password database explicitly.
* Ensure luseradd is present for tests
* Add docs and warnings about local mode
2019-03-14 22:16:53 -04:00
Sam Doran
43a44e6f35
Move utility functions out of basic.py ( #51715 )
...
Move the following methods to lib/anisble/module_utils/common/validation.py:
- _count_terms()
- _check_mutually_exclusive()
- _check_required_one_of()
- _check_required_together()
- _check_required_by()
- _check_required_arguments()
- _check_required_if
- fail_on_missing_params() --> create check_missing_parameters()
2019-03-14 21:29:55 -04:00
Matt Clay
34b928d283
Remove conflicting urllib3 from pip in uri test.
...
The uri test will fail on centos6 if run after a test that installs urllib3 via pip unless it is uninstalled.
2019-03-14 18:00:13 -07:00
Matt Clay
b8349b1d61
Fix aliases for order integration test.
2019-03-14 13:24:32 -07:00
Sloane Hertel
87ebc56de6
Allow parent groups to be variables or literal ( #53649 )
...
* Allow parent groups to be variables or literal, requires {{ }}
* Check strict before failing on templating errors
* Don't add a group if an invalid parent group was provided
2019-03-14 14:22:18 -04:00
Alan Rominger
8c2037aaa9
do not error in case of empty list constructed group ( #53748 )
2019-03-14 12:27:56 -04:00
Chris Archibald
14d670573a
Ability to add port in portset ( #52734 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* add ports
2019-03-14 15:39:11 +00:00
Chris Archibald
b5144a36ab
New Module: na_elementsw_initiators ( #52375 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* new module
* update author
* update copyright
* fixes
2019-03-14 15:38:49 +00:00
Brian Coca
e280f2f7b0
Try to get correct buffer size to avoid races ( #53547 )
...
* Try to get correct buffer size to avoid races
fixes #51393
* fix test, mock buffer function since all is mocked
2019-03-14 11:04:56 -04:00
Matteo Ferrando
86405b8fe4
(postgresql_privs) accept 'ALL_IN_SCHEMA' objs for 'function' type ( #35331 )
...
* avoid using Postgres formatting function
* add tests for ALL FUNCTIONS IN SCHEMA
* documentation and changelog
* requested changes in tests
* fixed changelog
2019-03-14 20:21:05 +05:30
Sam Doran
55306906cf
Correctly count processors on ARM systems. ( #52884 )
...
- Add unit tests for Linux CPU info
- Add cpuinfo output from several systems for unit tests
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-14 10:31:47 -04:00
Chris Archibald
fa2e8d8fe1
New Module: na_ontap_snapshot_policy.py ( #52299 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add snapshot policy
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* review change
2019-03-14 13:30:51 +00:00
Bojan Vitnik
edcd921258
XenServer: Fix wrong FakeXenAPI module import in unit tests ( #53634 )
2019-03-14 17:03:52 +05:30
Felix Fontein
4573f349ea
luks_device: add allow_to_remove_last_key option ( #52371 )
...
* Add allow_to_remove_last_key option.
* Dump headers.
* Add support for old versions of cryptsetup luksDump.
* Update lib/ansible/modules/crypto/luks_device.py
Co-Authored-By: felixfontein <felix@fontein.de>
* Rename allow_to_remove_last_key -> force_remove_last_key.
2019-03-14 09:55:35 +00:00
Felix Fontein
35e7fb776a
docker_image: improve usage ( #52894 )
...
* Add source option.
* Split force parameter into force_source, force_absent and force_tag.
* Move all build-related options into a suboption called build.
* Add changelog.
2019-03-14 09:46:38 +00:00
Zim Kalinowski
a202509ba4
fixing resource facts ( #53727 )
2019-03-14 11:46:33 +08:00
Jordan Borean
c2466c545b
Handle binary files when scanning metadata in python 3 ( #53773 )
2019-03-14 10:00:30 +10:00
Bob Boldin
b67505d271
AWS: new module ec2_transit_gateway fixes #49376 ( #53651 )
...
* AWS: new module ec2_transit_gateway fixes #49376
* Add permissions neeeded for integration tests
* uncomment nolog on creds
* add unsupported to integration test aliases
* remove the shippable/aws/group alias so doesn't conflict with unsupported
2019-03-14 09:42:33 +10:00
Matt Clay
7c315170c6
Reduce verbosity of blocks test.
2019-03-13 15:05:10 -07:00
Jordan Borean
d3792145d5
win_get_url - refactor tests to use httptester ( #53765 )
...
* win_get_url - refactor tests to use httptester
* Use the file lookup instead of slurp
2019-03-14 08:04:49 +10:00
Gabriel do Nascimento Ribeiro
f97a593da5
Add non_unique parameter for group module ( #53085 )
2019-03-13 15:40:07 -04:00
Chris Archibald
0e77eeb205
Merging of broadcast domain and Broadcast domain port ( #51978 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Add domain ports in to broadcast domain
* ansibot fixes
* Revert "Revert "changes to clusteR""
This reverts commit 2713c75f31cbf81ef1785d6ab9ea5d0d4db9af60.
* Fix author
2019-03-13 18:32:54 +00:00
albinpopote
473596a472
New module: na_ontap_net_subnet ( #50491 )
...
* New module: na_ontap_net_subnet
* Sanity tests Fix
* Fix: correct examples
* Fix: examples syntax
* Correction: Sanity 1
* Code review
* Code review + Bugfix
* Add Unit Tests
* Fix Sanity Indentation tests
* FIX: Validator change request
* FIX : Change unit test json fail message
* FIX: Typo ip_ranges in example section
* FIX: Remove NetApp copyright
2019-03-13 18:31:55 +00:00
David Passante
244a9a83aa
cs_iso: fix missing param "is_public" ( #53740 )
...
* cs_iso: fix missing param "is_public"
* add changelog fragment
2019-03-13 19:06:44 +01:00
Matt Martz
07ff2a6494
cliconf and httpapi are documentable plugins now
2019-03-13 10:28:44 -07:00
Alex Stephen
08918c6c2b
GCP IAM Role ( #53490 )
...
* GCP IAM Role
* module util file
* test fix
* unit tests
* test fixes
* doc fragment fixes
* test fixes
* test fix
2019-03-13 13:28:01 -04:00
Matt Clay
a8e328f474
Overhaul ansible-test code coverage and injector. ( #53510 )
2019-03-13 07:14:12 -07:00
Chris Archibald
2e47e9fffa
Modify na_ontap_net_port NetAppModule module format, allow for multiple ports, unit tests ( #52286 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add update to netport
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* fix docs
* fix option
2019-03-13 13:06:37 +00:00
Abhijeet Kasurde
8d4343b94c
iptables: implement log_level parameter ( #52880 )
...
Fixes : #25100
Based upon https://github.com/ansible/ansible/pull/25118
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 18:10:59 +05:30
Abhijeet Kasurde
f0ef4dae05
iptables: Add support for gateway parameter ( #53465 )
...
When user specifies the JUMP value to 'tee', gateway is required.
This fix adds new parameter 'gateway' to support this functionality.
Fixes : #53170
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 17:47:44 +05:30
Felix Fontein
c2cb82ec14
ACME: add support for IP identifiers ( #53660 )
...
* Adding support for IP identifiers according to https://tools.ietf.org/html/draft-ietf-acme-ip-05 .
* Add changelog.
* Make sure that the authorizations return value is unchanged for CSRs with DNS-only SANs.
* Remove unneeded import.
* type -> identifier_type
* Python 2.6 compatibility.
* Fix unit tests.
* Add IP address normalization.
* Extend tests.
* Move data into fixtures.
* Adjust BOTMETA.
2019-03-13 10:16:56 +01:00
Fedor V
8ac6145180
vmware_vm_facts: custom attributes support ( #45773 )
...
* Add toggle to attribute facts gathering
Signed-off-by: Fedor V <f.vompe@comptek.ru>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 09:49:20 +05:30
Jordan Borean
b044bb431e
Use shared remote_tmp_dir to simplfy tests ( #53721 )
2019-03-13 12:26:59 +10:00
Jordan Borean
d9795bad98
win_reboot - fix broken tests after recent commit ( #53722 )
2019-03-13 12:24:41 +10:00
Jordan Borean
33939f7fe8
win_psexec: make the tests more stable ( #53716 )
2019-03-13 11:22:59 +10:00
David Passante
495c197770
cloudstack: streamline modules doc (part 3) ( #53412 )
...
* cloudstack: streamline modules doc (part 3)
* Parameter types added
* Copyright format fixes
* Doc style fixes
* Examples format fixes
* Remove cs_loadbalancer_rule from ignore.txt
* cs_loadbalancer_rule: add "version_added" for params added into the documentation
* cs_loadbalancer_rule: ignore E309 for now
* cs_loadbalancer_rule: remove E309 from ignore.txt
2019-03-12 23:19:07 +01:00
Brian Coca
b793f08a92
fixes for stripping ( #52930 )
...
function changed to do in place replacement, should be less expensive even with copy as it avoids 'sub copies', can compose with module_args_copy to create replacement for old behavior
attempt to fix #52910
* handle lists and subdicts correctly
* added missing exception case, which was not noticed since 'cleaning' was not working
* added comments to clarify exceptions
2019-03-12 18:18:38 -04:00
Matt Clay
7a387e216e
Disable failing azure_rm_keyvault test.
2019-03-12 14:29:15 -07:00
Matt Clay
6fd83f96d1
Disable old_style_cache_plugins integration test.
2019-03-12 14:04:30 -07:00
Gaudenz Steinlin
8111425a96
Cloudscale server password ( #53701 )
...
* cloudscale_server: remove required parameter check
The valid parameter combinations are already checked by the API. There
is no need to check a subset of this in the Ansible module as well. This
makes it more likely that future changes in the API won't require
changes in the Ansible module.
* cloudscale_server: add password parameter
Recent revisions of the cloudscale.ch API allow setting a password for a
server. Add this option to the cloudscale_server module.
2019-03-12 21:56:05 +01:00