Jordan Borean
d0867edbc3
updated test not that module util checks the path is valid ( #30321 )
2017-09-14 11:18:32 +10:00
Ricardo Carrillo Cruz
dbe9df1289
Add CLI provider with authorize yes to ios tests ( #30312 )
...
We are getting failures to do lack of elevated privileges.
2017-09-14 00:00:58 +02:00
MarkusTeufelberger
2186b04934
Add simple integration test for openssl_certificate ( #29038 )
...
* openssl_certificate: Fix parameter assertion in Python3
Parameter assertion in Python3 is broken. pyOpenSSL get_X() functions
returns b'' type string and tries to compare it with '' string, leading
to failure.
The error mentionned above has been fixed by sanitizing the inputs from
a user to the assert only backend.
Also, this error was hidden by the fact that the improper check method
was called in the generate() functions.
* Add simple integration test for openssl_certificate
* remove subject == issuer assertion
* run integration tests only on supported hosts
* change min supported version to 0.15.x
* Add test for more CSR fields
* also convert dict members to bytes
* fix version_compare
* openssl_{csr, certificate}: Fail if pyOpenSSL <= 0.15
Previous 0.13 pyOpenSSL was a C-binding, and required the parameter
passed to add_extention to be in ASN.1. This has changed with the move
to 0.14 and it is now all pythong and string based.
Previous the 0.15 release, the `get_extensions()` method didn't exist,
since the modules rely heavily on it we ensure pyOpenSSL version is at
last 0.15.0.
* check pyopenssl version in openssl_csr integration test
2017-09-13 14:39:32 -07:00
Jordan Borean
6d196eaa98
windows command changed to use CreateProcess ( #30253 )
...
* windows command changed to use CreateProcess
* change to get become to work
2017-09-13 09:58:49 -07:00
Ricardo Carrillo Cruz
4a3a8ac616
Remove provider cli for vyos tests ( #30275 )
...
Transport is cli by default, and we set user/passwords on group_vars.
2017-09-13 16:01:47 +02:00
rahushen
caafc8e591
NXOS Commit Integration tests to Ansible (part 1) ( #28935 )
...
* cleanup nxos_bgp_neighbor_af tests
* add timeout and to_json to nxapi testing for nxos_command
* maintain folder naming consistency with other tests
2017-09-13 14:31:47 +01:00
Mike Wiebe
7292dd20ed
Fix nxos_overlay_global networking modules ( #28943 )
2017-09-13 17:33:06 +05:30
Guillaume Coré
a09a231be7
ini_file: add integration test ( #24434 )
...
* ini_file: add integration test
Start integration tests for ini_file module.
* ini_file test: add comments for lisibility
* update from review: use var instead of checksum to assert content
2017-09-13 07:51:40 -04:00
Ganesh Nalawade
d8371cec91
Fix ios_system lookup enable issue ( #30263 )
...
Fixes #29974
Add `None` check while comparing module parameter values (want) with the actual
configuration present on device (have).
2017-09-13 15:19:09 +05:30
Mike Wiebe
cef7ed0310
Fix nxos_mtu nxapi failure ( #30153 )
2017-09-13 10:51:46 +05:30
Nicklaus McClendon
6dbc3c63f8
Updated pip module to always return changed if venv is created ( #24233 )
...
* Updated pip module to always return changed if venv is created
Fixes #23204
* Add integration test to pip (see #23204 )
2017-09-12 10:01:29 -07:00
Matt Davis
1e2ce4c8ab
support missing drive letters in PS path
type ( #29884 )
...
* fixes #26623
* Test-Path (and thus `-type path` in Get-AnsibleParam) fail on a nonexistent drive letter, since it can't be mapped to a PSProvider.
* added support and basic smoke tests for
2017-09-12 09:51:48 -07:00
Ricardo Carrillo Cruz
b30cd60829
Fix nxos_user tests ( #30048 )
...
On our CI we use SSH port 8022, so parameterized the test passing
-p {{ ansible_ssh_port }}.
Also, force user/pass auth.
2017-09-12 17:01:50 +02:00
Ricardo Carrillo Cruz
1da7194534
Remove provider lines from iosxr tests ( #29956 )
...
We don't use authorize on iosxr nor we use a special transport,
so no need to use iosxr for CLI at all.
2017-09-12 13:03:28 +02:00
Trishna Guha
5b1c91bf19
nxos_system parse name_servers fix ( #29944 )
...
* nxos_system parse name_servers fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_system tests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-12 13:25:01 +05:30
Tim Rupp
74ace093b8
Renames the bigip_configsync_actions module ( #29747 )
...
Retains the old name by making a symlink. We can remove it in a later
release.
2017-09-12 05:53:44 +01:00
Jordan Borean
5623e679b8
win_unzip: added support for Server core by using .net zip functions ( #29272 )
...
* win_unzip: added support for Server core by using .net zip functions
* fixed unzip behaviour with folders
2017-09-11 18:30:24 -04:00
Martin Krizek
0daacdccf8
dnf: add environment upgrade test
2017-09-11 11:45:10 -07:00
Martin Krizek
de299ef77c
dnf: fix TypeError when env/group failed
2017-09-11 09:16:39 -07:00
Brian Coca
444a5b5389
fix cs_zone_facts tests, namespace feature removed ( #29184 )
...
* fix cszonefacts .. namespace feature removed
* also removed the 2nd instance of ansible_facts
2017-09-11 17:30:43 +02:00
Trishna Guha
2bef344512
nxos_config CI fix ( #29437 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-11 14:17:17 +05:30
Trishna Guha
bbb1ceba75
fix nxos_command nxapi test output ( #29436 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-11 14:15:56 +05:30
Andrew Saraceni
8f050d3719
Fix SID Lookup Issues on Assorted Windows Modules ( #28979 )
...
* fix sid lookup issues and update copyright/license to latest format
* simplify win_owner and win_share by removing unnecessary function
2017-09-11 07:34:51 +10:00
Abhijeet Kasurde
8f6626bd8f
Misc typo corrections
...
Fix adds correction for typos
* Anisble to Ansible
* Fasle to False
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-09-09 10:25:50 -07:00
Trishna Guha
2ff9888923
rename nxos test basic-no-exec to basic-no-motd ( #29144 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-08 22:50:25 +05:30
Trishna Guha
588bddbc35
nxos_banner CI fix ( #29134 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-08 19:33:41 +05:30
Ricardo Carrillo Cruz
497e6cf405
Use 'hostname switch' on setup/teardown tasks for nxos_config non_idempotent ( #29132 )
...
inventory_hostname breaks CI due to too long string.
2017-09-08 13:56:09 +02:00
Ricardo Carrillo Cruz
8b6e3272f2
Set hostname to 'switch' on nxos_config toplevel setup/teardown tasks ( #29127 )
...
Using inventory_hostname breaks in our CI, as the inventory_hostname
translates to a long UUID, exceeding the maximum length for a NXOS
hostname.
2017-09-08 12:13:35 +02:00
Ricardo Carrillo Cruz
2304706bd3
Set hostname to 'switch' on nxos_system teardown ( #29126 )
...
On setup we set it to 'switch', so teardown should be 'switch'.
Also, using inventory_hostname breaks the test, since in our CI
it's a long UUID string, which exceeds the 32 chars maximum for setting
a hostname on NXOS.
2017-09-08 12:09:44 +02:00
Ganesh Nalawade
0b2619ff2b
Add lldp neighbor intent argument for vyos_interface ( #29092 )
...
* Add lldp neighbor intent argument for vyos_interface
* Add version_added info for neighbor argument
* Fix CI issue
2017-09-08 08:28:43 +05:30
Trishna Guha
757983d808
Disable nxapi test for nxos_banner ( #29088 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-07 17:51:54 +05:30
Trishna Guha
064bb66e6d
run banner exec test only for NXOS7K ( #29041 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-09-07 17:30:24 +05:30
Jordan Borean
91e7c3ec81
win_regedit: fixed up diff output to be more representative of type ( #28974 )
...
* win_regedit: fixed up diff output to be more representative of type
* added diff fix for creation of key and prop in one go
2017-09-07 16:14:49 +10:00
Matt Clay
286348bd0d
Temporarily disable leaky test in CI.
2017-09-05 21:56:40 -07:00
Ganesh Nalawade
3b6b004570
Add support for neighbor argument in ios_interface ( #29035 )
...
Add missing support for lldp neighbor argument in ios_interface
2017-09-06 10:15:02 +05:30
Matt Clay
08bdb6198e
Migrate more Azure integration tests. ( #29034 )
2017-09-05 19:38:56 -07:00
Matt Clay
8f4c8844c4
Divide Windows integration tests into 2 groups. ( #29029 )
...
* Divide Windows integration tests into 2 groups.
* Support `none` for `--changed-all-target`.
* Run 2 separate Windows groups on Shippable.
* Only run smoketest and minimal for the group1 job.
2017-09-05 15:32:26 -07:00
Dag Wieers
d8649adf10
aci_rest: More tests related to input types
...
Now test inline YAML, inline JSON, YAML string, JSON string and XML
string input.
2017-09-05 00:59:33 -07:00
Dag Wieers
6108b46022
aci_rest: Add integration tests
...
Integration tests for aci_rest to upstream.
It follows the same flow as aci_tenant to create, change and remove a
tenant idempotently.
2017-09-05 00:09:17 -07:00
Ganesh Nalawade
60d0139844
Remove provider from prepare junos test intergration setup ( #28961 )
2017-09-03 03:16:06 +05:30
Ganesh Nalawade
7372e0c658
Fix junos_netconf integration test provider param ( #28954 )
2017-09-02 23:34:51 +05:30
Matt Clay
55fb18b85c
Split cloud tests into two CI groups.
2017-09-01 17:33:54 -07:00
Matt Clay
a7d5492ea3
Fix github_issue test and enable in CI.
2017-09-01 14:13:34 -07:00
René Moser
9c6d925f5a
tests: cs_instance: expand tests cases with project ( #28938 )
2017-09-01 21:49:53 +02:00
Abhijeet Kasurde
8027aad4b8
Add support for Python3 in vmware_guest_find
...
* Remove redundant get_obj method
* Fix testcase
* Correct logic for compile_folder_path_for_object
Fixes : #25984
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-09-01 11:11:09 -07:00
Mike Wiebe
fb1aa54341
Rel240/fix nxos interface ospf ( #28898 )
...
* Fixes 28897 nxos_interface_ospf idempotence
* Handle all characters upper or lower with tests
2017-09-01 11:07:18 -04:00
saichint
737c27121b
Add Idempotent IT cases for vrrp, vrf, vtp ( #28895 )
2017-09-01 05:59:21 -04:00
rahushen
50d148a7d6
Add nxos_config IT ( #28853 )
...
* recalibrate tests and add new ones
* add new cli tests
* add new nxapi tests
* Add new tests for cli and nxapi
2017-09-01 05:44:24 -04:00
Trishna Guha
252efcebf5
module should fail if eos_user is added without configured_password or nopassword or sshkey ( #28780 )
...
* module should fail if eos_user is added without configured_password or nopassword or sshkey
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix eos_user unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix eos_user integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-31 15:29:57 -04:00
Matt Clay
84295e6124
Mark destructive tests as such.
2017-08-31 12:11:43 -07:00