Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tags changes is not working when using next_available_address_block function #28

Open
thejptnaz opened this issue May 16, 2024 · 0 comments

Comments

@thejptnaz
Copy link

Sample script from https://github.com/infobloxopen/bloxone-
ansible/blob/main/sample_playbook/ipam/address_block/create_address_block_next_available.yaml
(Added tags)


  • hosts: localhost
    connection: local
    collections:
  • infoblox.b1ddi_modules

vars:

  • host: "{{ Host server to connect to }}"
  • api: "{{ api key to access the server }}"

tasks:

Create a Address Block in a given IP space using next_available_address_block

  • name: Create Address Block using next-available subnet
    b1_ipam_address_block:
    space: "qa-space-1"
    address: '{"next_available_address_block": {"cidr": "28", "count": "5", "parent_block": "40.0.0.0/24"}}'
    name: "qa-nextAvailable"
    comment: "Created by QA using nextavailable"

tags:

  • "Org": "Infoblox"
  • "Dept": "Engineering"
    api_key: "{{ api }}"
    host: "{{ host }}"
    state: present

https://github.com/infobloxopen/bloxone-ansible/blob/main/ansible_collections/infoblox/b1ddi_modules/plugins/modules/b1_ipam_address_block.py

I don't see the tags are being added when looking at the function "next_available_address_block" on module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant