Skip to content

Issue with creating subnet folder when multiple folders have the same name #120

Open
@ishuguru

Description

@ishuguru

We have our ipam structured like this
image
And in each dc we have nester folder like this.
image
This seems to cause some errors since there are a few folders named the same
When i try to create a subnet

- name: "Create subnet"
  codeaffen.phpipam.subnet:
     app_id: "ansible"
     description: "{{item.description}}"
     username: "API"
     password: "{{apipassword}}"
     server_url: "https://phpipam"
     vlan: "{{item.vlan}}"
     vrf: "PROD"
     folder: "PROD"
     location: "DC1"
     validate_certs: no
     section: "xxx"
     routing_domain: "{{item.routing_domain}}"
  with_items: "{{subnetconfig.list}}"

It places all the subnets in the same folder

Is there any way to specify the master_folder somehow when creating a subnet?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions