Skip to content
Discussion options

You must be logged in to vote

It works for me, but its hard to troubleshoot your formatting is not using code blocks.

Here is my example:

    - name: "TEST GRAB FIRT_AVAILBLE PREFIX"
      netbox.netbox.netbox_prefix:
        netbox_url: "{{ netbox_api_url }}"
        netbox_token: "{{ netbox_token }}"
        validate_certs: false
        data:
          parent: 10.112.0.0/15
          prefix_length: 24
          description: test
        state: present
        first_available: yes
      register: test

    - name: "DEBUG OUTPUT"
      ansible.builtin.debug:
        var: test

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ryanmerolle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants