Skip to content

aci_epg. output file is not in proper format when using loop (DCNE-323) #735

Open
@prasanthvelunny78

Description

@prasanthvelunny78

I used the below to create multiple epg's and it works fine but the output file being generated not in a proper format. Because of this i cant run NDI Pre-change analysis feature and i had to manually edit the file to make it in a proper format.

  • name: Create EPG
    aci_epg:
    host: "{{ host }}"
    username: username

      password: "{{ password }}"
      tenant: "{{ item.Tenant }}"
      ap: "{{ item.AP }}"
      epg: "{{ item.EPG }}"
      bd: "{{ item.Bridge_domain }}"
      description: "{{ item.Description }}"
      state: "{{ item.State }}"
      validate_certs: no
      output_level: debug
      output_path: ./output/output.json
    loop: "{{ input.list }}"
    

I have attached the output i am getting and the expected output.
Can you please have a look ?

aci-epg output_not_proper_format.json

aci-epg_expected_output.json

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingjira-syncSync this issue to Jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions