Matt Martz
5941e4c843
Properly JSON encode AnsibleUnsafe, using a pre-processor ( #60602 )
...
* Properly JSON encode AnsibleUnsafe, using a pre-processor. Fixes #47295
* Add AnsibleUnsafe json tests
* Require preprocess_unsafe to be enabled for that functionality
* Support older json
* sort keys in tests
* Decouple AnsibleJSONEncoder from isinstance checks in preparation to move to module_utils
* Move AnsibleJSONEncoder to module_utils, consolidate instances
* add missing boilerplate
* remove removed.py from ignore
5 years ago
Miguel Angel Muñoz González
69fcd771e0
FortiOS modules for 2.9 - 8 ( #61308 )
...
* FortiOS modules for 2.9 - 8
* Add missing files
* Fix trailing spaces
5 years ago
Trishna Guha
5a04b4feb6
Add nxos_l2_interfaces resource module ( #61120 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Miguel Angel Muñoz González
a6b124cccc
FortiOS modules for 2.9 - 7 ( #61217 )
5 years ago
Ryan Conway
e4c1c05363
Renaming `onepassword_facts` to `onepassword_info`. ( #61237 )
...
* Renaming `onepassword_facts` to `onepassword_info`.
* Update module examples.
* Add changelog fragment.
* Add module rename to the 2.9 porting guide.
* Document the parameter types in the module docs.
* Fix incorrect parameter name.
* Update docs/docsite/rst/porting_guides/porting_guide_2.9.rst
Co-Authored-By: Felix Fontein <felix@fontein.de>
* Remove `onepassword_facts` as it has been renamed to `onepassword_info` including fixes for the sanity tests.
5 years ago
Sumit Jaiswal
c9f0b0fb42
Resource module for ios_l3_interfaces ( #60405 )
...
* ios_l3_interfaces
* fix shippable
* fix tests
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix ignore txt file
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix doc
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix shippable n tests
* fix replace test
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix zuul failures
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix shippable n zuul
* fix zuul
* fix zuul
* fix zuul test
* fix zuul
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* code zuul fix
* fix merge
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix merge
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Trishna Guha
f0ef624cff
Add nxos_l3_interfaces resource module ( #61021 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Miguel Angel Muñoz González
a6837609e2
FortiOS modules for 2.9 - 6 ( #61170 )
...
* FortiOS modules for 2.9 - 5
* Update fortios_firewall_vip.py
* Update fortios_firewall_vip6.py
5 years ago
Felix Fontein
18f7c3b850
Netapp: rename _facts -> _info ( #60980 )
...
* Rename na_ontap_gather_facts -> na_ontap_info
Rename netapp_e_facts -> netapp_e_info
* Add changelog.
* Fix sanity.
* Forgot test.
* Forgot to remove 'gather'.
* Fix sanity ignore.
* Remove netapp_e_facts from PR.
* Remove superfluous version_added.
5 years ago
Sumit Jaiswal
47243b0b2d
Resource module for iosxr_interfaces ( #59853 )
...
* iosxr interfaces resource
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Nathaniel Case
8c5936671e
Add new module eos_l3_interfaces ( #59820 )
...
* Update base files for resource modules
* Add modules
* Add module_utils
* Add tests
* Deprecate eos_l3_interface
* Update facts
5 years ago
Miguel Angel Muñoz González
3ea55fc254
Fortinet's new module for fortios_system_settings ( #60952 )
...
* Fortinet's new module for fortios_system_settings
* Avoid warnings on E336 a E336 for system settings
5 years ago
Miguel Angel Muñoz González
628aa3a808
FortiOS modules for 2.9 - 5 ( #61062 )
...
* FortiOS modules for 2.9 - 5
* Update fortios_firewall_vip.py
* Update fortios_firewall_vip6.py
5 years ago
Fortinet Core CSE NA
df6d46fed3
Fortinet: fmgr_fwpol_ipv4 update/behavioral option fix ( #58154 )
...
* PR Update to fmgr_fwpol_ipv4 -- now allows for failure or skip behavior option upon missing dependencies
* fmgr_fwpol_ipv4 minor docs fix
* Removed "system_package_print" line from test/sanity/ignore.txt as instructed by failed shippable test.
Actual PR module isn't affected.
5 years ago
Pedro Magalhães
145a6a8756
maven_artifact.py - add support for version ranges by using spec ( #54309 )
5 years ago
Lukas Kämmerling
96199be96b
Rename hcloud_*_facts to hcloud_*_info ( #60926 )
...
* Rename hcloud_datacenter_facts to hcloud_datacenter_info
* Rename hcloud_location_facts to hcloud_location_info
* Rename hcloud_image_facts to hcloud_image_info
* Rename hcloud_floating_ip_facts to hcloud_floating_ip_info
* Rename hcloud_server_type_facts to hcloud_server_type_info
* Rename hcloud_server_facts to hcloud_server_info
* Rename hcloud_ssh_key_facts to hcloud_ssh_key_info
* Rename hcloud_volume_facts to hcloud_volume_info
* Fix typo in hcloud_image_info
* Add to porting guide and add changelog fragment
* Reword porting guide
5 years ago
Felix Fontein
c1b2aa1d11
nginx_status_facts: deprecate/rename to nginx_status_info ( #60979 )
...
* Rename nginx_status_facts -> nginx_status_info
* Add changelog.
* Remove warnings.
* Re-add ignore.txt entries.
* ...
* Raw strings for docs.
* Use U(...) for link.
5 years ago
Rohit
8b3ff933af
Vyos lldp interfaces ( #60931 )
...
* module_utils checkin
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* vyos lldp_interfaces merging
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* shippable fix
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* merge changes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* failure added in ignore list
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* test cases updated
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* remove global commands
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
5 years ago
chkp-orso
f1d568749f
fix: Checkpoint check_mode, add suboptions, return the facts ( #60264 )
...
* fix: check_mode, add suboptions, return the facts
* pip8, ansible_facts, get_payload
* add space to create PR
* remove space to create PR
* test tests of cp_network
* change for the test of network
* fixes to pass the tests
* fix tests
* Update ignore.txt
5 years ago
Matt Clay
32b0a72547
Support windows-integration on collections. ( #60984 )
...
* Support windows-integration on collections.
* Update configure-remoting-ps1 sanity test.
* Add copy of ConfigureRemotingForAnsible.ps1.
* Add ignore entry for copied file.
5 years ago
Felix Fontein
e58919bccd
gluster_heal_facts: rename to gluster_heal_info ( #60919 )
...
* Rename gluster_heal_facts -> gluster_heal_info
* Add changelog.
5 years ago
Felix Fontein
c66163b118
hpilo_facts: rename to hpilo_info ( #60917 )
...
* Rename hpilo_facts -> hpilo_info
* Fix porting guide.
* Add changelog.
5 years ago
Miguel Angel Muñoz González
3cd70f53cc
FortiOS modules for 2.9 - 4 ( #60806 )
...
* FortiOS modules for 2.9 - 4
* Update ignore.txt
* Updates from maintainers to legacy modules
* Update fortios_firewall_ssl_setting.py
* Update fortios_firewall_ssl_server.py
5 years ago
Nathaniel Case
efa163a2e8
New module eos_lag_interfaces ( #60610 )
...
* Copy module files
* Deprecate eos_linkagg
* Add tests
5 years ago
Nathaniel Case
d9ffc61539
Add new module eos_l2_interfaces ( #59794 )
...
* Add module files for l2_interfaces
* Add module_utils
* Add tests
* Deprecate eos_l2_interface
* Clean up tests so eos_vlan will still pass
5 years ago
Nathaniel Case
446dcb7c96
New module eos_vlans ( #60652 )
...
* Initial commit of module files
* Add tests, implement facts
* Implement config, fix issues
* Handle vlan ranges from the device
* Deprecate eos_vlan
5 years ago
Miguel Angel Muñoz González
decb016a2d
FortiOS modules for 2.9 - 3 ( #60678 )
...
* FortiOS modules for 2.9 - 3
* Remove default values in doc, as suggested from review
* Retriggering due to shippable failure
* Update fortios_firewall_ipv6_eh_filter.py
* Update fortios_firewall_ipmacbinding_setting.py
* Update fortios_firewall_ippool.py
* Update fortios_firewall_local_in_policy6.py
* Update fortios_firewall_local_in_policy.py
5 years ago
Rohit
d8f9904f43
vyos_lldp_global ( #59627 )
...
* vyos_lldp_global
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity checks
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* deprecated changes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* comments incorporated
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>
* branch conflict resolved
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
* sanity check passes
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
5 years ago
Sumit Jaiswal
b55a54469c
Resource module for ios_vlans ( #59640 )
...
* ios_vlans resource module
* fix shippable error
* fix shippable
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix vlans resource
* fix facts doc
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix shippable n review
* fix test
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix indentation
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
* fix review
* fix shebang
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Felix Fontein
26b9c81a8e
crypto modules: fix sanity errors ( #60046 )
...
* Remove sanity warnings.
* Linting.
* More linting.
* Forgot one place.
* no_bytes -> num_bytes
5 years ago
Sumit Jaiswal
ab07c206aa
Resource module for ios_l2_interfaces ( #60344 )
...
* ios_l2_interface checkin
Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Miguel Angel Muñoz González
ca28ae3be5
FortiOS modules for 2.9 - 2 ( #60598 )
...
* FortiOS modules for 2.9 - 2
* Fix long lines and ignore.txt
5 years ago
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
5 years ago
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>
5 years ago
Trishna Guha
d5d88f9b11
Add nxos_interfaces resource module ( #60421 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Matt Clay
60f8483603
Add missing boilerplate to collections test. ( #60507 )
...
* Add missing boilerplate to collections test.
* Remove redundant Python version check.
5 years ago
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
5 years ago
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.
5 years ago
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
5 years ago
Matt Clay
473bd6bb0a
Relax boilerplate sanity tests.
...
This will avoid requiring boilerplate for documentation only python files.
5 years ago
Felix Fontein
3290b8343c
docker: fix sanity errors ( #60047 )
...
* Remove sanity check errors.
* More linting.
* Forgot to update places.
* Remove choices which aren't provided in argspec.
5 years ago
Matt Clay
6c09b5c659
Unit test cleanup. ( #60315 )
...
* Clean up option parsing unit tests.
* Remove unused unit test marker and import.
5 years ago
Felix Fontein
49e16922b2
Remove no longer necessary check (since elements is procesed for path). ( #59953 )
5 years ago
Ganesh Nalawade
309a58eafd
Add [junos_l2_interfaces] resource module ( #59693 )
...
* Add [junos_l2_interfaces] resource module
* Add new resource module junos_lag_interfaces.
* Targets model https://github.com/ansible-network/resource_module_models/pull/12
* Deprecate junos_l2_interface module
* Fix CI failures
* Fix CI issues
5 years ago
Nathan Swartz
10543c8a4c
Facts dev upstream ( #57082 )
...
* Improved netapp_e_facts module.
Added the following facts:
- storage system segment size
- cache block size capabilities
- workload tags
- storage array hosts
- host groups
- list of mapped volumes for each initiator
* Remove proxy specific facts from netapp_e_facts module
* Add unit tests for netapp_e_facts module.
5 years ago
Ganesh Nalawade
6f0aae256d
Add [junos_lldp_interfaces] model ( #59720 )
...
* Add [junos_lldp_interfaces] model
* Add new resource module junos_lldp_interface
* Targets model https://github.com/ansible-network/resource_module_models/pull/40
* Deprecate junos_lldp_interface module
* Fix CI issues
5 years ago
silverwizard
5d8302120b
Removed breaking type check from nagios module ( #49568 )
...
* Removed extraneous type check from nagios module, in order to allow python 3.x
* Removed now useless import types
* Added changelog fragment
* Update changelog.
* Rebased and removed check due to module adding earlier guardrails
* Updated changelog to mention earlier fix adding now completely removed guardrails
* Remove superfluous type checks. Fix docs type.
* Update ignore.txt.
5 years ago
Nathan Swartz
e80f8048ee
Fix netapp_e_volume wait-for-initialization to complete issue. ( #58304 )
...
* Fix netapp_e_volume wait-for-initialization to complete issue.
* Add unit tests for wait_for operations in netapp_e_volume module.
5 years ago
Matt Clay
d651bda123
Relocate ansible-test code. ( #60147 )
...
* Initial move of `test/runner/` content.
`test/runner/lib/` -> `test/lib/ansible_test/_internal/`
`test/runner/` -> `test/lib/ansible_test/_internal/data/`
* Initial move of `test/sanity/` content.
`test/sanity/` -> `test/lib/ansible_test/_internal/data/sanity/` (except `test/sanity/ignore.txt`)
* Initial move of `test/units/pytest/` content.
`test/units/pytest/` -> `test/lib/ansible_test/_internal/data/pytest/`
* Follow-up move of `test/runner/unit/` content.
`test/lib/ansible_test/_internal/data/unit/` -> `test/lib/ansible_test/tests/unit/`
* Initial move of `ansible.cfg` content.
`test/units/ansible.cfg` -> `test/lib/ansible_test/_internal/data/units/ansible.cfg`
`test/env/ansible.cfg` -> `test/lib/ansible_test/_internal/data/env/ansible.cfg`
* Follow-up move of `data` directory.
`test/lib/ansible_test/_internal/data/` -> `test/lib/ansible_test/_data/`
* Update import statements.
* Add missing __init__.py for unit tests.
* Fix path references and miscellaneous issues.
5 years ago
Wojciech Wypior
2af67f0dce
fixes issue with RD encoding in names ( #59990 )
...
fixes issue with file download function on ASM file transfer endpoints
corrects doc fragments
removes not used parameters
corrects various sanity failures previously ignored across multiple modules
5 years ago