Matt Clay
503e85ed0e
PEP 8 E111 cleanup.
8 years ago
Matt Clay
f80224f828
PEP 8 E111 cleanup.
8 years ago
Matt Clay
85300883ef
PEP 8 E111 cleanup.
8 years ago
Matt Clay
23f2efbc8d
PEP 8 E111 cleanup. ( #20841 )
8 years ago
Matt Clay
462ab6b1db
PEP 8 E111 cleanup for nxos modules.
8 years ago
Matt Clay
cb76200c7d
PEP 8 E111 & E114 cleanup. ( #20838 )
8 years ago
Toshio Kuratomi
1609afbd12
Unittests for some of module_common.py ( #20812 )
...
* Unittests for some of module_common.py
* Port test_run_command to use pytest-mock
The use of addCleanup(patch.stopall) from the unittest idiom was
conflicting with the pytest-mock idiom of closing all patches
automatically. Switching to pytest-mock ensures that the patches are
closed and removing the stopall stops the conflict.
8 years ago
Wayne Witzel III
0e72f3bd71
Ansible Tower organization module ( #20355 )
...
* add Ansible Tower organization module
* skip Python 2.4 check for ansible_tower module
* make spec and doc match, extract tower auth helper method
* added auth params at module level
* support check mode
* extract check mode check to ansible_tower utils, add utils to 2.4 skip
* update interpreter shebang
* remove colon from docs
* no log for password, verify_ssl default to true
8 years ago
Ricardo Carrillo Cruz
e70bc06ea1
Refactor iosxr_command to make use of network_connection plugin ( #20772 )
8 years ago
Peter Sprygada
a4a5db56f6
updates python2.4-skip
...
* adds module_utils/netconf.py
* adds module_utils/junos.py
8 years ago
Matt Clay
10d9318de7
PEP 8 indent cleanup. ( #20800 )
...
* PEP 8 E121 cleanup.
* PEP 8 E126 cleanup.
* PEP 8 E122 cleanup.
8 years ago
Peter Sprygada
85d78390f9
adds new module eos_system ( #20797 )
...
* provides declarative resource for configuring eos system parameters
* supports network_cli connection plugin only
* adds unit tests for module using mock interfaces
8 years ago
Peter Sprygada
d2dd2fbe49
adds module eos_banner ( #20796 )
...
* new module allows for configuration of eos multiline banners
* adds unit test cases for module
8 years ago
Matt Clay
e2c0b375d3
PEP 8 cleanup. ( #20790 )
...
* PEP 8 E115 cleanup.
* PEP 8 E131 cleanup.
8 years ago
Matt Clay
d0d1158c5e
PEP 8 cleanup. ( #20789 )
...
* PEP 8 E703 cleanup.
* PEP 8 E701 cleanup.
* PEP 8 E711 cleanup.
* PEP 8 W191 and E101 cleanup.
8 years ago
Matt Clay
d913f69ba1
PEP 8 W291 whitespace cleanup.
8 years ago
Matt Clay
95789f3949
PEP 8 whitespace cleanup. ( #20783 )
...
* PEP 8 E271 whitespace cleanup.
* PEP 8 W293 whitespace cleanup.
* Fix whitespace issue from recent PR.
8 years ago
Jordan Borean
971783a7fd
Feature/win stat extra info ( #19148 )
...
* Added more return results to win_stat
* Changed Win2012 methods to support older versions in setup
* staging of the tests to work with older servers
8 years ago
Matt Clay
63b1e0c277
Fix infrequent PEP 8 issues.
8 years ago
Peter Sprygada
6c89c587cc
refactors eos_config module to use network_cli ( #20741 )
...
* update eos_config to use eapi exclusively and remove cli transport
* add unit test cases for eos_config
* updates action plugin to handle both eapi and network_cli connections
8 years ago
Matt Clay
6ef1a6aeb6
Add `pep8` to `ansible-test`. ( #20745 )
...
The rule sets and legacy file list are a first draft.
It is likely that they will need to be revised.
8 years ago
Dag Wieers
3a0a74dc18
Make test/runner less verbose when spawning instances
...
As discussed on IRC
8 years ago
Matt Clay
f42fa8879b
Temporarily remove Windows Server 2016 from CI.
8 years ago
Peter Sprygada
271c0c4574
new module eos_user ( #20759 )
...
* adds new module for managing local user accounts on eos devices
* adds unit test cases for module
This module only supports network_cli
8 years ago
Trond Hindenes
679a3cb1cc
Merge pull request #20599 from dagwieers/win_regedit-cleanup
...
win_regedit: Cleanup, check/diff mode support, HKCC fix
8 years ago
Peter Sprygada
c8dcc7f5d6
refactors eos_command module ( #20739 )
...
* eos_command now uses network_cli connection plugin
* adds unit test cases for eos_command module
8 years ago
Peter Sprygada
57660abf33
refactor eos_eapi module ( #20740 )
...
* eos_eapi module now requires network_cli plugin
* adds unit test cases for eos_eapi module
8 years ago
Peter Sprygada
ad83756b48
updates eos shared modules ( #20738 )
...
* eos module now uses network_cli connection plugin
* adds unit tests for eos module
* eapi support now provided by eapi module
* updates doc fragment for eapi common properties
8 years ago
Matt Clay
5503b89831
Run fewer tests for winrm config script changes.
8 years ago
Tom Melendez
c2edc8a264
[GCE] Google Cloud Pubsub Module ( #19091 )
...
* Google Cloud Pubsub Module
The Google Cloud Pubsub module allows the Ansible user to:
* Create/Delete Topics
* Create/Delete Subscriptions
* Change subscription from pull to push (and configure endpoint)
* Publish messages to a topic
* Pull messages from a Subscription
An accessory module, gcpubsub_facts, has been added to list topics and subscriptions.
* Added docs for state field to DOCUMENTATION and RETURN blocks.
8 years ago
Dag Wieers
0e80ba1867
Fix the integration test to comply recent changes
8 years ago
Matt Clay
76d563af79
Temporarily switch Windows tests to us-east-1.
...
Will switch back to us-east-2 after AWS limit increase is done.
8 years ago
Matt Clay
31d6b6ef67
Run postgresql tests on FreeBSD. ( #20676 )
...
* Use vars for user, group and locale suffix.
* Switch tests from `es_MX` to `es_ES`.
* Enable postgresql tests on freebsd.
* Work-arounds for service restart on freebsd.
8 years ago
Matt Clay
5d5e5e25a2
Only set git config during test if unset.
...
This makes the git test less destructive.
8 years ago
Ganesh Nalawade
b67f50570e
Add unit testcase for junos_command module ( #20034 )
...
* Add unit testcase for junos_command module
* Mock third party module import
* Remove third party module requirements
8 years ago
Peter Sprygada
8ddffcb1a6
new connection plugin netconf ( #20636 )
...
* adds connection plugin for creating modules that use netconf
* adds basic unit test cases for connection plugin
8 years ago
Patrick Ogenstad
ac527ef86f
Check for removal not allowed errors ( #19251 )
8 years ago
Ricardo Carrillo Cruz
b44505e281
Merge pull request #20559 from rcarrillocruz/refactor_ios_config_network_connection
...
Refactor iosxr_config to make use of network_connection plugin
8 years ago
Matt Clay
d8b18d79fa
Disable assertions that fail on WS 2016.
8 years ago
Matt Clay
d6cdd91511
Remove `win_fetch` from CI due to instability.
8 years ago
Ricardo Carrillo Cruz
a8cfe4a5d7
Refactor iosxr_config to make use of network_connection plugin
8 years ago
Ansible Test Runner
ff1a732ffd
Increase timeout for http server in uri test.
8 years ago
Matt Clay
fa7f84217b
Add startup checks to ansible-test.
8 years ago
Ricardo Carrillo Cruz
034330e52f
Fix typo on test_ios_config_before_after_no_change test ( #20565 )
8 years ago
Matt Clay
836e0b59d2
Fix git remote url change detection. ( #20587 )
...
* Fix git remote url change detection.
When comparing paths, unfrackgitpath must be called on both sides
of the comparison. Otherwise comparisons involving symlinks will
return incorrect results.
* Re-enable git test on OS X.
* Return None from unfrackgitpath when path is None.
8 years ago
Nathaniel Case
b3662fdad1
vyos_command 2.3 ( #18994 )
...
* Peter's new module_utils/vyos
* Update vyos_command
* Restore `set terminal length $ANSIBLE_VYOS_TERMINAL_LENGTH` in vyos
* vyos_command tests
* Remove provider mentions from vyos_command
* Extend get_config to take (and cache) various `show configuration` commands
8 years ago
Matt Clay
61e6e7868c
Improve jinja2 test coverage. ( #20533 )
...
* Run `template` test on latest jinja2 version.
* Update jinja2 install for groupby_filter.
* Clean test output dir for each test.
8 years ago
Matt Clay
d87ee022bb
Enable more `ios` tests on Shippable.
8 years ago
John R Barker
11c15bbbaf
Disable IOS tests for the moment ( #20524 )
8 years ago
John R Barker
a12033a6e0
integration/targets/ios_* work to support IOS ( #20414 )
...
* WIP
* Don't set connection: network_cli in the playbook
* ios_config tests now passing
* Create test loopback device
* delete
* ios_* pass (apart from ios_facts)
* Remove provider lines
8 years ago