Skip to content

Address Object Creation displays incorrectly in change summary #612

Open
@swelton1

Description

@swelton1

Expected behavior

When looking at the change summary after creating an object with an ansible playbook, there should be an independent line item showing each newly created item

Current behavior

When looking at the change summary after creating an object with an ansible playbook, there is a line item called address, where every single object is shown, then the new address object is shown at the bottom

Possible solution

I would like to see the new address objects showing up individually as if it were not created with ansible automation.

Steps to reproduce

This is the object creation portion of the code I am using that produces this error. After running this, the change summary will show the error I explained above.

  • name: Create address objects

    paloaltonetworks.panos.panos_address_object:
    
      provider: '{{ device }}'
    
      name: '{{ [item.name](http://item.name/) }}'
    
      description: '{{ address_object_description }}'
    
      tag: 'Ansible'
    
      address_type: 'ip-netmask'
    
      value: '{{ item.value }}'
    
      commit: false
    
    loop: "{{ address_objects }}"
    
    loop_control:
    
      label: "{{ [item.name](http://item.name/) }}"
    
    when: (address_objects | default([])) | length > 0
    

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions