Sam Doran
9a21e24778
get_distribution - Return distribution for all platforms ( #71641 )
...
Since moving to distro, it is possible to return this information for all platforms, not just Linux.
Also return version information for all platfrom not just Linux.
Update unit tests.
Remove some duplicate unit tests though I think there are more to remove.
* Fix docstring formatting
* Minor docstring changes
* Mock distro.id for Solaris service test
* Update comment
2021-06-11 10:22:18 -04:00
Jonathan Kirszling
50e998e303
apt_key: add --recv argument as last one ( #74949 )
...
* apt_key: add --recv argument as last one
* Add unit test
* Add the required boilerplate
Co-authored-by: Marius Gedminas <marius@gedmin.as>
2021-06-11 05:47:59 +10:00
Sam Doran
004c33d9c5
unarchive - do not fail in init when trying to find required binary ( #74892 )
...
Test for the required binaries in the can_handle_archive() method and fail there. This
prevents failures for missing binaries unrelated to the archive type.
* Update missing zip binary message to match tar message
* Update unit tests
* Add integration tests
* Define packages based on the system rather than ignoring failures
2021-06-07 12:59:06 -04:00
Abhijeet Kasurde
be9f8c69d1
unarchive: Fail when zipinfo is not available ( #74632 )
...
Fixes : #39029
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-02 10:09:42 +05:30
Abhijeet Kasurde
70f22c7f32
Remove commented code ( #74860 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-06-01 11:26:38 -04:00
Alexander Sowitzki
502270c804
hostname: clean up strategies
...
Apply #74744 and #69929 to #70828
2021-05-27 13:15:52 +02:00
Rick Elrod
8a0abed1ba
[hostname] don't write in get_*() methods
...
Change:
- Hostname strategies' get_*() methods should never write to the
filesystem. They are used in check_mode by default to determine if
there is any work to be done.
Test Plan:
- New unit tests to ensure that (at least when in check_mode) the get
methods don't ever call write.
Tickets:
- Fixes #66432
Signed-off-by: Rick Elrod <rick@elrod.me>
2021-05-27 13:15:52 +02:00
Brian Coca
39bd8b99ec
async_wrapper more info on end ( #74199 )
...
be consistent on information returned
normalize 'return functions'
fix unit test
add a bit more context on some failures
2021-04-13 10:30:13 -04:00
Guillermo Adrián Molina
9c506031fa
Solaris: Correct version check in svcadm_supports_sync API ( #73860 )
...
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2021-04-10 08:02:58 +05:30
Amin Vakil
846c2d1ed3
Fix comment in iptables unit test ( #74061 )
2021-03-30 16:11:12 -04:00
Martin Zimmermann
be59caa59b
iptables: Added set module/match_set support ( #72984 )
2021-01-11 16:32:53 -05:00
Martin Zimmermann
83fb24b923
iptables: Adding multiport module support ( #72928 )
2020-12-14 10:23:54 -05:00
Amin Vakil
c1da427a5e
iptables: Reorder comment postition ( #71496 )
...
* Reorder comment postition
* Add comment unit test
* Fix unit test
* Fix unit test
* Add changelog
* Add paramaters which would be problematic without this fix
* Fix typo
* Fix unit test
* Fix unit test
2020-11-09 19:40:55 +01:00
dberg1
cdf62edc65
service_facts: return service state information on AIX ( #72073 )
...
* service_facts: return service state information on AIX
AIX uses the System Resource Controller (SRC) to manage services.
See https://www.ibm.com/support/knowledgecenter/ssw_aix_72/osmanagement/sysrescon.htm
Use lssrc command on AIX to return service state information.
Co-authored-by: dberg1 <dberg1@github.com>
2020-10-13 11:28:59 -04:00
Abhijeet Kasurde
f5037314e3
sanity: remove ansible-bad-function ( #70431 )
...
* Updated docs and ignore.txt
* Replaced with correct function calls
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-07 11:46:28 -04:00
jctanner
b019029bf3
Add intentional unit tests for basic._set_cwd and common.dict_merge ( #70283 )
...
* Add unit tests for basic._set_cwd
* incidental coverage for dict_merge
* add test for async stderr inclusion
2020-06-25 14:45:13 -05:00
Matt Clay
98a0995fd0
Clean up unit test boilerplate.
2020-06-22 14:20:33 -07:00
Matt Martz
4c4406b2df
Flatten the directory hierarchy of modules ( #68966 )
...
* Flatten the directory hierarchy of modules
* Update ignore.txt, flatten units
* Update imports
* Completely flatten the modules directory
* Update sanity ignore
* Fix some sanity test ignores
* Fix relative import
* Fix docs builds without category
* ci_complete
* Clean up docs. ci_complete
* Adjust needs/file alias
* ci_complete
* fix hardcoded ping module paths
Co-authored-by: Matt Davis <mrd@redhat.com>
2020-05-13 19:14:53 -07:00
Matt Clay
7e8dae5790
Remove unused unit test files.
2020-03-23 11:14:21 -05:00
Ansible Core Team
e0e57b4beb
migration final cleanup
2020-03-23 11:14:21 -05:00
Ansible Core Team
cc2feea51b
Migrated to vyos.vyos
2020-03-23 11:14:21 -05:00
Ansible Core Team
40714dfca9
Migrated to openvswitch.openvswitch
2020-03-23 11:14:21 -05:00
Ansible Core Team
36a545553e
Migrated to dellemc_networking.os6
2020-03-23 11:14:21 -05:00
Ansible Core Team
bc40fe0b6f
Migrated to dellemc_networking.os9
2020-03-23 11:14:21 -05:00
Ansible Core Team
0b633b3703
Migrated to dellemc_networking.os10
2020-03-23 11:14:21 -05:00
Ansible Core Team
35063de590
Migrated to junipernetworks.junos
2020-03-23 11:14:21 -05:00
Ansible Core Team
8ee0187388
Migrated to openstack.cloud
2020-03-23 11:14:21 -05:00
Ansible Core Team
6ce86295c0
Migrated to f5networks.f5_modules
2020-03-23 11:14:21 -05:00
Ansible Core Team
3149db0869
Migrated to cisco.nxos
2020-03-23 11:14:21 -05:00
Ansible Core Team
5aa37733c3
Migrated to cisco.iosxr
2020-03-23 11:14:21 -05:00
Ansible Core Team
7e04b5ba8b
Migrated to cisco.ios
2020-03-23 11:14:21 -05:00
Ansible Core Team
ab5a3b4305
Migrated to cisco.asa
2020-03-23 11:14:21 -05:00
Ansible Core Team
14b0ab63ac
Migrated to arista.eos
2020-03-23 11:14:21 -05:00
Ansible Core Team
6da1ec1d8c
Migrated to check_point.mgmt
2020-03-23 11:14:21 -05:00
Ansible Core Team
f0cf2c159b
Migrated to netapp.ontap
2020-03-23 11:14:21 -05:00
Ansible Core Team
cae9d633b0
Migrated to netapp.elementsw
2020-03-23 11:14:21 -05:00
Ansible Core Team
0a9205b7c0
Migrated to netapp.aws
2020-03-23 11:14:21 -05:00
Ansible Core Team
09d8d46983
Migrated to fortinet.fortios
2020-03-23 11:14:21 -05:00
Ansible Core Team
829eb0f1d1
Migrated to ansible.posix
2020-03-23 11:14:21 -05:00
Ansible Core Team
9a7a574ffc
Migrated to ansible.netcommon
2020-03-23 11:14:21 -05:00
Ansible Core Team
6d910034a0
Migrated to ansible.amazon
2020-03-23 11:14:21 -05:00
Ansible Core Team
40218535ee
Migrated to community.vmware
2020-03-23 11:14:21 -05:00
Ansible Core Team
0ed8af9021
Migrated to community.crypto
2020-03-23 11:14:21 -05:00
Ansible Core Team
4e488d8435
Migrated to community.general
2020-03-23 11:14:21 -05:00
Ansible Core Team
58e8a91f4d
Migrated to community.amazon
2020-03-23 11:14:21 -05:00
Ansible Core Team
32bf1b8115
Migrated to frr.frr
2020-03-23 11:14:21 -05:00
Matt Clay
7c493577ba
Unit test cleanup to assist with migration. ( #67920 )
...
* Move linode unit tests to match module layout.
* Fix location of netapp module_utils unit tests.
* Update sanity ignores.
2020-03-02 10:40:34 -08:00
Adharsh Srivats R
7307339a7e
NX-OS ACLs module ( #67558 )
...
* Added nxos_acls module
* Adding tests
* Added integration tests
* Integration tests update
* Updated documentation
* Replaced state changes
* Added warning detection
* Added port-protocol mapping
* Added change
* Merge update changes
* Completed integration tests, rtt
* Added unit tests
* Linting
Added metaclass info
* Changed port protocol to str
* Fixed shippable errors, added examples
* Fixed type error, updated examples
2020-03-02 16:49:28 +05:30
Adharsh Srivats R
f3ddf1bc95
NX-OS ACL interfaces module ( #67505 )
...
* Rebase
* Completed integration tests
* Added unit tests
* Added warning detection
* Updated tests
* Completed tests
* Linting
Linting II
YAML Lint
Linting
* Updated review changes
* Updated examples, fixed reviews
* Added failure condition
* Resolved merge conflict
2020-03-02 09:52:32 +05:30
Matt Clay
e0875f2aef
Skip ios_acls unit test on Python 3.5.
2020-03-01 14:07:37 -08:00