Brian Coca
61900c7672
modules moved to use best_parsable_locale ( #75250 )
...
* modules moved to use best_parsable_locale
* fixed invocations
* better better
* also module_utils
* converted to function as per fb
* patch testt
* whitespace
3 years ago
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
4 years ago
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>
4 years ago
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
4 years ago
Abhijeet Kasurde
be9f8c69d1
unarchive: Fail when zipinfo is not available ( #74632 )
...
Fixes : #39029
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 years ago
Abhijeet Kasurde
70f22c7f32
Remove commented code ( #74860 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
4 years ago
Alexander Sowitzki
502270c804
hostname: clean up strategies
...
Apply #74744 and #69929 to #70828
4 years ago
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>
4 years ago
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
4 years ago
Guillermo Adrián Molina
9c506031fa
Solaris: Correct version check in svcadm_supports_sync API ( #73860 )
...
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
4 years ago
Amin Vakil
846c2d1ed3
Fix comment in iptables unit test ( #74061 )
4 years ago
Martin Zimmermann
be59caa59b
iptables: Added set module/match_set support ( #72984 )
4 years ago
Martin Zimmermann
83fb24b923
iptables: Adding multiport module support ( #72928 )
4 years ago
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
4 years ago
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>
4 years ago
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>
4 years ago
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
4 years ago
Matt Clay
98a0995fd0
Clean up unit test boilerplate.
5 years ago
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>
5 years ago
Matt Clay
7e8dae5790
Remove unused unit test files.
5 years ago
Ansible Core Team
e0e57b4beb
migration final cleanup
5 years ago
Ansible Core Team
cc2feea51b
Migrated to vyos.vyos
5 years ago
Ansible Core Team
40714dfca9
Migrated to openvswitch.openvswitch
5 years ago
Ansible Core Team
36a545553e
Migrated to dellemc_networking.os6
5 years ago
Ansible Core Team
bc40fe0b6f
Migrated to dellemc_networking.os9
5 years ago
Ansible Core Team
0b633b3703
Migrated to dellemc_networking.os10
5 years ago
Ansible Core Team
35063de590
Migrated to junipernetworks.junos
5 years ago
Ansible Core Team
8ee0187388
Migrated to openstack.cloud
5 years ago
Ansible Core Team
6ce86295c0
Migrated to f5networks.f5_modules
5 years ago
Ansible Core Team
3149db0869
Migrated to cisco.nxos
5 years ago
Ansible Core Team
5aa37733c3
Migrated to cisco.iosxr
5 years ago
Ansible Core Team
7e04b5ba8b
Migrated to cisco.ios
5 years ago
Ansible Core Team
ab5a3b4305
Migrated to cisco.asa
5 years ago
Ansible Core Team
14b0ab63ac
Migrated to arista.eos
5 years ago
Ansible Core Team
6da1ec1d8c
Migrated to check_point.mgmt
5 years ago
Ansible Core Team
f0cf2c159b
Migrated to netapp.ontap
5 years ago
Ansible Core Team
cae9d633b0
Migrated to netapp.elementsw
5 years ago
Ansible Core Team
0a9205b7c0
Migrated to netapp.aws
5 years ago
Ansible Core Team
09d8d46983
Migrated to fortinet.fortios
5 years ago
Ansible Core Team
829eb0f1d1
Migrated to ansible.posix
5 years ago
Ansible Core Team
9a7a574ffc
Migrated to ansible.netcommon
5 years ago
Ansible Core Team
6d910034a0
Migrated to ansible.amazon
5 years ago
Ansible Core Team
40218535ee
Migrated to community.vmware
5 years ago
Ansible Core Team
0ed8af9021
Migrated to community.crypto
5 years ago
Ansible Core Team
4e488d8435
Migrated to community.general
5 years ago
Ansible Core Team
58e8a91f4d
Migrated to community.amazon
5 years ago
Ansible Core Team
32bf1b8115
Migrated to frr.frr
5 years ago
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.
5 years ago
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
5 years ago
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
5 years ago