mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 14:22:46 +00:00
Fix imports and installing dependencies in CI, part 1 (#41)
* Fix ovirt collection name (ovirt.ovirt_collection, not ovirt.ovirt). * Fix kubernetes module_utils references. * Fix broken f5 imports on community.general side. The imports in that collection are still broken and will still cause failures. * Fix Cisco ACI and MSO modules imports. * Fix check_point.mgmt dependency, fix imports. * Fix fortimanager imports. * Fix cisco intersight imports. * Fix ovirt module docs fragments. * Fix usage of _ in unit tests to avoid sanity failures. * Fix Cisco module docs fragments. * Fix netapp.ontap module docs fragment name. * Fix documentation. * Fix some boilerplate (the ones not mentioned in ignore.txt).
This commit is contained in:
@@ -46,7 +46,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -174,7 +174,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -57,7 +57,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -184,7 +184,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
# Mapping dicts are used to normalize the proposed data to what the APIC expects, which will keep diffs accurate
|
||||
QINQ_MAPPING = dict(
|
||||
|
||||
@@ -50,7 +50,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -179,7 +179,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -45,7 +45,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -173,7 +173,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -94,7 +94,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -223,7 +223,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -52,7 +52,7 @@ options:
|
||||
- The alias for the current object. This relates to the nameAlias field in ACI.
|
||||
type: str
|
||||
extends_documentation_fragment:
|
||||
- cisco.aci.aci
|
||||
- cisco.aci.modules
|
||||
|
||||
seealso:
|
||||
- name: APIC Management Information Model reference
|
||||
@@ -181,7 +181,7 @@ url:
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.network.aci.aci import ACIModule, aci_argument_spec
|
||||
from ansible_collections.cisco.aci.plugins.module_utils.aci import ACIModule, aci_argument_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -70,7 +70,7 @@ seealso:
|
||||
- module: cisco.mso.mso_schema_template_externalepg
|
||||
- module: cisco.mso.mso_schema_template_contract_filter
|
||||
extends_documentation_fragment:
|
||||
- cisco.mso.mso
|
||||
- cisco.mso.modules
|
||||
|
||||
'''
|
||||
|
||||
@@ -132,7 +132,7 @@ RETURN = r'''
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.mso.plugins.module_utils.network.aci.mso import MSOModule, mso_argument_spec, mso_contractref_spec, issubset
|
||||
from ansible_collections.cisco.mso.plugins.module_utils.mso import MSOModule, mso_argument_spec, mso_contractref_spec, issubset
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
@@ -57,7 +57,7 @@ options:
|
||||
notes:
|
||||
- Due to restrictions of the MSO REST API concurrent modifications to EPG subnets can be dangerous and corrupt data.
|
||||
extends_documentation_fragment:
|
||||
- cisco.mso.mso
|
||||
- cisco.mso.modules
|
||||
|
||||
'''
|
||||
|
||||
@@ -115,7 +115,7 @@ RETURN = r'''
|
||||
'''
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible_collections.cisco.mso.plugins.module_utils.network.aci.mso import MSOModule, mso_argument_spec, mso_reference_spec, mso_subnet_spec
|
||||
from ansible_collections.cisco.mso.plugins.module_utils.mso import MSOModule, mso_argument_spec, mso_reference_spec, mso_subnet_spec
|
||||
|
||||
|
||||
def main():
|
||||
|
||||
Reference in New Issue
Block a user