Hello.
You need to use the fqcn: awx.awx.host
Daniel
Le 15/03/2024 à 09:05, Thirumalai Raja A a écrit :
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
--
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-project+unsubscr...@googlegroups.com
<mailto:ansible-project+unsubscr...@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>.
--
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-project+unsubscr...@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.