need help on awx.awx

39 views
Skip to first unread message

Thirumalai Raja A

unread,
Mar 15, 2024, 4:05:52 AM3/15/24
to ansible...@googlegroups.com
hi all, below is my playbook and even i installed collection but i am facing the error can anyone guide me 

    - name: Add host
      host:
        controller_host: "{{ awx_url }}"
        controller_password: "{{ username }}"
        controller_username: "{{ password }}"
        validate_certs: false
        name: "{{ vm_ipv4_address }}"
        description: "automation"
        inventory: "{{ inventory_name }}"
        state: present
        variables:
          Version: "{{ version }}"
          ansible_function: "{{ host_type }}"
          ansible_function_wthspc: "{{ host_type }}"
          ansible_host: "{{ fqdn }}"
          ansible_ip: "{{ ip_add }}"
          ansible_itrc_cmp_id: "{{ itrc_comp_id }}"
          ansible_itrc_component: "{{ itrc_comp }}"
          ansible_itrc_component_wthspc: "{{ itrc_comp_wthspc }}"
          ansible_location: "{{ ansible_location }}"
          ansible_network_os: "{{ host_os }}"
      tags:
        - inventory_update_new


my Collection version:
---
collections:
  - name: ansible.windows
    version: 2.0.0

  - name: community.windows
    version: 2.0.0

  - name: awx.awx
    version:  23.8.1

error i am facing:
image.png

Daniel Gonçalves

unread,
Mar 15, 2024, 4:20:19 AM3/15/24
to ansible...@googlegroups.com
Hello.

You need to use the fqcn: awx.awx.host

Daniel
> image.png
>
> --
> You received this message because you are subscribed to the Google
> Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to ansible-proje...@googlegroups.com
> <mailto:ansible-proje...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CALyK%3Dg8gOmubLiTZaojSduk8f6Z2%2BE9VR%3D5hmWfhba-66pd1tQ%40mail.gmail.com <https://groups.google.com/d/msgid/ansible-project/CALyK%3Dg8gOmubLiTZaojSduk8f6Z2%2BE9VR%3D5hmWfhba-66pd1tQ%40mail.gmail.com?utm_medium=email&utm_source=footer>.

Thirumalai Raja A

unread,
Mar 15, 2024, 5:09:55 AM3/15/24
to ansible...@googlegroups.com
Thank you its working now..

To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8f976386-8927-400b-88f6-ce0a4c4d04e3%40lves.fr.
Reply all
Reply to author
Forward
0 new messages