Hello team ,

Am trying to install lamp i have written playbook in this manner . My system are system connected AWS i can do ssh to Redhat node from Ansible control server

Need help to resolve the problem

https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variables-discovered-from-systems-facts

Hello Jonathan

Thanks for support can you help with more detail If possible… am kind of new ansible world … is their any mistake in play book ?

Viktam, As a work around try updating as

 "ansible_os_family": "RedHat",

as per the document provided by Jon.

Hello Jonathan

Thanks for support can you help with more detail If possible.. am kind of
new ansible world .. is their any mistake in play book ?

You need 'gather_facts: yes'

V/r,
James Cassell