mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Nios integration and unit tests for all remaining nios new modules (#43399)
* new nios module support * new nios module support * new nios module support * new nios module support * new nios module support * new nios module support * new nios module support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * new nios module integration test support * test/integration/targets/nios_naptr_record/tasks/nios_naptr_record_idempotence.yml new nios module integration test support * fix pep8 error * fix pep8 error * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end * adding newline at end
This commit is contained in:
parent
7314aa7298
commit
e96f90b440
45 changed files with 1414 additions and 8 deletions
|
@ -109,6 +109,7 @@ RETURN = ''' # '''
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.net_tools.nios.api import WapiModule
|
||||
from ansible.module_utils.net_tools.nios.api import NIOS_A_RECORD
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -139,7 +140,7 @@ def main():
|
|||
supports_check_mode=True)
|
||||
|
||||
wapi = WapiModule(module)
|
||||
result = wapi.run('record:a', ib_spec)
|
||||
result = wapi.run(NIOS_A_RECORD, ib_spec)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@ RETURN = ''' # '''
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.net_tools.nios.api import WapiModule
|
||||
from ansible.module_utils.net_tools.nios.api import NIOS_AAAA_RECORD
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -139,7 +140,7 @@ def main():
|
|||
supports_check_mode=True)
|
||||
|
||||
wapi = WapiModule(module)
|
||||
result = wapi.run('record:aaaa', ib_spec)
|
||||
result = wapi.run(NIOS_AAAA_RECORD, ib_spec)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
|
|
@ -109,6 +109,7 @@ RETURN = ''' # '''
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.net_tools.nios.api import WapiModule
|
||||
from ansible.module_utils.net_tools.nios.api import NIOS_CNAME_RECORD
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -139,7 +140,7 @@ def main():
|
|||
supports_check_mode=True)
|
||||
|
||||
wapi = WapiModule(module)
|
||||
result = wapi.run('record:cname', ib_spec)
|
||||
result = wapi.run(NIOS_CNAME_RECORD, ib_spec)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
|
|
@ -116,6 +116,7 @@ RETURN = ''' # '''
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.net_tools.nios.api import WapiModule
|
||||
from ansible.module_utils.net_tools.nios.api import NIOS_MX_RECORD
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -147,7 +148,7 @@ def main():
|
|||
supports_check_mode=True)
|
||||
|
||||
wapi = WapiModule(module)
|
||||
result = wapi.run('record:mx', ib_spec)
|
||||
result = wapi.run(NIOS_MX_RECORD, ib_spec)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
|
|
@ -128,6 +128,7 @@ RETURN = ''' # '''
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.six import iteritems
|
||||
from ansible.module_utils.net_tools.nios.api import WapiModule
|
||||
from ansible.module_utils.net_tools.nios.api import NIOS_SRV_RECORD
|
||||
|
||||
|
||||
def main():
|
||||
|
@ -161,7 +162,7 @@ def main():
|
|||
supports_check_mode=True)
|
||||
|
||||
wapi = WapiModule(module)
|
||||
result = wapi.run('record:srv', ib_spec)
|
||||
result = wapi.run(NIOS_SRV_RECORD, ib_spec)
|
||||
|
||||
module.exit_json(**result)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue