Matt Clay
27ff8b1a80
Clean up unused config usage in integration tests.
2019-08-14 09:44:36 -07:00
Andrey Klychkov
7955405a23
optparse_helpers: improve unit tests for version() ( #59626 )
...
optparse_helpers: improve unit tests for version()
2019-08-14 10:32:26 -05:00
Chris Archibald
fed6598e28
fixes ( #60146 )
2019-08-14 10:26:12 -04:00
Miguel Angel Muñoz González
4cae96109b
FortiOS modules for 2.9 - 1 ( #60469 )
...
* FortiOS modules for 2.9 - 1
* Fix empty choices and avoid E337,E338 warnings
* Ansible comments on version_added and ignore.txt only on this PR files
* Add version_added also for state attribute
* Avoid null choices on dlp_sensor
* Change required flag according to argspec
2019-08-14 19:44:51 +05:30
Chris Archibald
645eebdbbb
new options ( #60142 )
2019-08-14 09:51:38 -04:00
Chris Archibald
ae794369f8
new module: na_ontap_vserver_cifs_security ( #59817 )
...
* new module
* fixes
2019-08-14 09:02:56 -04:00
Rohit
69bc24f607
lag interfaces resource module ( #59175 )
...
* lag interfaces resource module
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity check imports
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity fixes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* dict_diff usage issue fix
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* new task
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* overridden updated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* dict update
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* facts merged
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* rebased and merged
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* new failures added
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* obsolete file removed
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* test cases updated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* dependency added
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2019-08-14 17:31:49 +05:30
Trishna Guha
d5d88f9b11
Add nxos_interfaces resource module ( #60421 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-14 13:38:22 +05:30
Matt Clay
b07f96c31d
Fix integration test temp dir usage. ( #60555 )
...
* Fix xfs_quota integration test temp dir usage.
* Fix lvg integration test temp dir usage.
* Fix filesystem integration test temp dir usage.
* Fix connection_windows_ssh test temp dir usage.
2019-08-14 00:12:05 -07:00
Matt Clay
ba1b4565d3
Clean up ansible-test results path handling.
...
This brings us closer to being able to use `tests/` instead of `test/` in collections.
2019-08-13 21:51:57 -07:00
Jordan Borean
14a7722e39
ansible-galaxy tidy up arg parse with better validation ( #59957 )
...
* ansible-galaxy tidy up arg parse with better validation
* Add support back in for -v before sub aprser
* Added deprecation warning for manually parsed verbosity
2019-08-14 06:36:29 +10:00
Matt Clay
1b8aa798df
Update ansible-test integration config handling. ( #60448 )
...
* Move Ansible test config into env vars.
This allows ansible-test to use an empty Ansible config file, leaving open the option for users to customize the one used to run tests (although such usage is discouraged).
* Use config from content under test when present.
2019-08-13 13:18:55 -07:00
Matt Clay
60f8483603
Add missing boilerplate to collections test. ( #60507 )
...
* Add missing boilerplate to collections test.
* Remove redundant Python version check.
2019-08-13 12:20:14 -07:00
Andrey Klychkov
21863d48f3
unit tests: remove unused imports ( #60462 )
2019-08-13 19:21:43 +02:00
Iain Madder
1b1216d2d1
Update file.py's help doc, and narrow down diff logic, for recent pull 56353 ( #59069 )
...
* Limiting when path_content is generated
path_content will be empty and unnecessary in all scenarios except when changing the state of a folder to absent, so adding in a check to limit when this parameter is defined
2019-08-13 12:59:13 -04:00
Sam Doran
a20848bf66
Use new version of default test image that contains Python 3.8.0b3 ( #60139 )
2019-08-13 12:28:02 -04:00
Nathaniel Case
6b5c7f7c42
Add new module eos_interfaces ( #59729 )
...
* Move module_utils
* Add eos_interfaces and deprecate eos_interface
* Add boilerplate, update ignores.txt
* Try to reconcile eos provider documentation with argspec
* Try to work around unknown interfaces
* Move param_list_to_dict to utils
2019-08-13 10:09:52 -04:00
Nilashish Chakraborty
ef0f28097e
Remove lo from config ( #60480 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-13 19:10:56 +05:30
Chris Archibald
2e819c87db
new options ( #60145 )
2019-08-13 09:35:01 -04:00
Shaun M
fa783c027b
Adding waiter to cluster remove process ( #57324 )
...
* Adding waiter to cluster remove process
* blank line contains whitespace
* update aws_eks integration test
* Refactor aws_eks test suite to use pip
* update version testing
* missing parens...
* add changelog fragment
* Add waiter to module_utils, fix exception handling.
* Correct EKS waiter checks
2019-08-13 23:11:21 +10:00
Felix Fontein
2d98734ad5
Amazon modules: rename _facts with ansible_facts result to _info ( #60178 )
...
* aws_s3_bucket_facts -> aws_s3_bucket_info
* cloudformation_facts -> cloudformation_info
* cloudfront_facts -> cloudfront_info
* ecs_service_facts -> ecs_service_info
* efs_facts -> efs_info
* Add changelog and porting guide entry.
* lambda_facts -> lambda_info
* Improve examples.
* Add subsection on renamed modules.
* Add sentence on registering variables.
* Fix ReST.
* Instead of renaming lambda_facts, deprecate it and replace with new module.
* Rename internal variable.
* Re-add sanity ignores for lambda_facts.
2019-08-13 08:01:37 -04:00
Nilashish Chakraborty
6110dcc789
Add iosxr_lldp_interfaces resource module ( #60411 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-13 14:58:55 +05:30
Matt Davis
a40baf22fa
various mod_args fixes ( #60290 )
...
* various mod_args fixes
* filter task keywords when parsing actions from task_ds- prevents repeatedly banging on the pluginloader for things we know aren't modules/actions
* clean up module/action error messaging. Death to `no action in task!`- actually list the candidate modules/actions from the task if present.
* remove shadowed_module test
* previous discussion was that this behavior isn't worth the complexity or performance costs in mod_args
* fix/add test, remove module shadow logic
* address review feedback
2019-08-13 09:57:49 +01:00
Ganesh Nalawade
9efa00e762
Add [junos_lldp_global] model ( #59712 )
...
* Add [junos_lldp_global] model
* Add new resource module junos_lldp_global
* Targets model https://github.com/ansible/network/pull/30
* Deprecate junos_lldp module
* Run lldp integration test only if protocol supported
2019-08-13 13:05:17 +05:30
Trishna Guha
0acf7be56a
Add nxos_lacp_interfaces resource module ( #60313 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-13 12:13:35 +05:30
Matt Clay
25d396fdfc
Fix testing of Windows binary modules.
2019-08-12 22:19:35 -07:00
Matt Clay
d36919856f
Update integration tests. ( #60447 )
...
* Remove unnecessary ANSIBLE_CONFIG override.
* Fix pull integration test.
* Fix inventory_foreman integration test.
2019-08-12 16:23:47 -07:00
Sam Doran
c485a1b91e
Fix sanity tests based on newer version of shellcheck ( #60423 )
...
- change egrep to grep -E
- store exit codes and check them directly
- ignore SC1091
2019-08-12 16:24:28 -04:00
Matt Martz
697b566971
Update units to pass on macOS ( #60435 )
...
* Update units to pass on macOS. Fixes #27810
* raising=False
2019-08-12 15:13:07 -05:00
The Magician
6cb5b67b22
Bug fixes for GCP modules ( #60115 )
2019-08-12 14:34:20 -04:00
The Magician
be459c00bf
Bug fixes for GCP modules ( #60337 )
2019-08-12 14:31:35 -04:00
The Magician
687da46a85
Bug fixes for GCP modules ( #60338 )
2019-08-12 13:41:41 -04:00
Marius Gedminas
c71622b31a
user: createhome=no home=/no/such/dir ( #60310 )
...
Fixes #60307 .
This bug was introduced in commit d2edf1d435
("User - Create parent directories if they do not exist in the specified
home path (#51043 )") and did not make it into any releases.
2019-08-12 10:37:45 -04:00
Chris Archibald
13403b3688
update to command ( #60141 )
2019-08-12 10:30:00 -04:00
Chris Archibald
5df9075386
New Module: na_ontap_ports ( #59814 )
...
* new module
* fixes
2019-08-12 10:23:24 -04:00
Nathan Swartz
abc5654738
Fix netapp_e_iscsi_target chap secret size and clearing functionality. ( #57135 )
2019-08-12 09:52:40 -04:00
Nilashish Chakraborty
09f712c7f3
Add iosxr_lldp_global resource module ( #60074 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-12 18:03:23 +05:30
Andrey Klychkov
3929dc00a1
unittests: remove unused imports ( #60404 )
2019-08-12 13:35:39 +02:00
Gonéri Le Bouder
a3407682ed
ansible-test: fix the vcenter+vcsim support
...
The vcenter provider allow one to use the `VMWARE_TEST_PLATFORM` to
manually select a test platform. The test platforms are:
- `govcsim`
- `static`
- and `worldstream`.
Before this commit, the `govcsim` value was ignored.
Example:
```shell
$ VMWARE_TEST_PLATFORM=govcsim ansible-test integration --python 3.7 needs/target/prepare_vmware_tests/
```
2019-08-12 11:55:38 +02:00
Miguel Angel Muñoz González
60a1545092
Fortinet's new module for fortios_switch_controller_vlan ( #59630 )
...
* Fortinet's new module for fortios_switch_controller_vlan
* Update fortios_switch_controller_vlan.py
* Update fortios_switch_controller_vlan.py
2019-08-12 14:58:02 +05:30
Miguel Angel Muñoz González
f1a4ab0aa5
Fortinet's new module for fortios_switch_controller_virtual_port_pool ( #59601 )
...
* Fortinet's new module for fortios_switch_controller_virtual_port_pool
* Update fortios_switch_controller_virtual_port_pool.py
* Update fortios_switch_controller_virtual_port_pool.py
2019-08-12 14:56:11 +05:30
Miguel Angel Muñoz González
079a4408ab
Fortinet's new module for fortios_switch_controller_switch_profile ( #59683 )
...
* Fortinet's new module for fortios_switch_controller_switch_profile
* Update fortios_switch_controller_switch_profile.py
* Update fortios_switch_controller_switch_profile.py
2019-08-12 14:55:19 +05:30
René Moser
602aded6ec
vultr: vultr_block_storage_facts to info ( #60230 )
2019-08-12 10:36:21 +02:00
Ganesh Nalawade
8cbfa75038
Add [junos_lacp] model ( #59705 )
...
* Add [junos_lacp] model
* Add new resource module junos_lacp.
* Targets model https://github.com/ansible-network/resource_module_models/pull/28
* Fix CI issues
* Fix CI failures
2019-08-12 13:54:44 +05:30
sushma-alethea
622a493ae0
icx: new module icx_ping ( #59975 )
...
* new module
* new module
* new terminal
* new terminal
* new cliconf
* new cliconf
* cliconf
* cliconf
* icx cliconf
* icx cliconf
* icx_cliconf
* icx test units module
* icx test units module
* icx units module
* icx units module
* icx banner unit test
* icx banner unit test
* PR changes resolved
* changes resolved
* Changes Resolved
* check_running_config changes resolved
* added notes
* added notes
* removed icx rst
* new changes
* new changes
* deleted icx rst
* icx .rst
* icx .rst
* modified platform_index.rst
* modified platform_index.rst
* modified platform_index.rst
* modified platform_index.rst
* changes resolved
* changes resolved
* PR comments resolved
* PR comments resolved
* Update platform_index.rst
PR comment resolved
* Update platform_index.rst
PR comment resolved
* new module icx_ping
* new changes
* Fixed bot error
2019-08-12 12:01:15 +05:30
Nilashish Chakraborty
f4502a8f1c
Set eth0 to dhcp explicitly ( #60305 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-12 11:36:54 +05:30
Ganesh Nalawade
fdf48ed0b4
Add [junos_lacp_interfaces] resource module ( #59708 )
...
* Add [junos_lacp_interfaces] resource module
* Add new resource module junos_lacp_interfaces.
* Targets model https://github.com/ansible-network/resource_module_models/pull/36
* Fix sanity test failure
2019-08-12 11:24:34 +05:30
Jordan Borean
35b87b8633
Move windows test to another group ( #60391 )
2019-08-12 10:00:09 +10:00
Maxim Babushkin
dda80c46e9
openssh_keypair - Add key `comment
` to return output ( #59268 )
...
If the comment will be provided during the key creation, it will be
diplayed in the return values.
Same will be on the comment change.
2019-08-11 13:47:34 +02:00
Maxim Babushkin
27e414200f
openssh_keypair - Add public key and key comment validation ( #57993 )
...
- Split the key validation to separate private and public.
- In case public key does not exist, recreate it.
- Validate comment of the key.
- In case comment changed, update the private and public keys.
2019-08-10 18:57:35 -04:00