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

Ansible-Segment-Creation-error #493

Open
kkrishnasamy01 opened this issue Mar 18, 2024 · 0 comments
Open

Ansible-Segment-Creation-error #493

kkrishnasamy01 opened this issue Mar 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@kkrishnasamy01
Copy link

Describe the bug

Ansible-Segment-Creation-error


  • hosts: localhost
    gather_facts: false
    vars_files: ../answerfile.yml
    tasks:
    • name: Create NSX-T Segment
      vmware.ansible_for_nsxt.nsxt_policy_segment:
      nsx_api_managers:
      hostname: "{{ nsxt_ip_address }}"
      username: "{{ nsxt_admin_user }}"
      password: "{{ nsxt_password }}"
      validate_certs: no
      display_name: "{{ segment_name }}"
      transport_zone: "{{ nsxt_transportzone_overlay_display_name }}"
      subnet: "{{ subnet }}"
      gateway_address: "{{ gateway }}"
      cidr: "{{ cidr }}"
      state: present

Getting an error

ERROR! conflicting action statements: vmware.ansible_for_nsxt.nsxt_policy_segment, nsx_api_managers

The error appears to be in '/home/kkrishnasamy/NSX_Deploy_Playbook/playbooks/11-configure_segment_creation.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

tasks:
- name: Create NSX-T Segment
^ here

Reproduction steps

Na

Expected behavior

ERROR! conflicting action statements: vmware.ansible_for_nsxt.nsxt_policy_segment, nsx_api_managers

The error appears to be in '/home/kkrishnasamy/NSX_Deploy_Playbook/playbooks/11-configure_segment_creation.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

tasks:
- name: Create NSX-T Segment
^ here

Additional context

ERROR! conflicting action statements: vmware.ansible_for_nsxt.nsxt_policy_segment, nsx_api_managers

The error appears to be in '/home/kkrishnasamy/NSX_Deploy_Playbook/playbooks/11-configure_segment_creation.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

tasks:
- name: Create NSX-T Segment
^ here

@kkrishnasamy01 kkrishnasamy01 added the bug Something isn't working label Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant