# 

**URL:** <https://forum.ansible.com/t/30146>\
**Category:** Ansible Project\
**Tags:** ansible-project, aws\
**Created:** [April 18, 2019, 1:35pm UTC](https://forum.ansible.com/t/30146 "2019-04-18T13:35:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikram\_acharya](https://avatars.discourse-cdn.com/v4/letter/v/65b543/32.png) [@vikram\_acharya](https://forum.ansible.com/u/vikram_acharya)\
**Post date:** [April 18, 2019, 1:35pm UTC](https://forum.ansible.com/t//30146/1 "2019-04-18T13:35:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jonathan\_Lozada\_De\_L](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@Jonathan\_Lozada\_De\_L](https://forum.ansible.com/u/Jonathan_Lozada_De_L)\
**Post date:** [April 18, 2019, 1:41pm UTC](https://forum.ansible.com/t//30146/2 "2019-04-18T13:41:57Z")

</div>

[https://docs.ansible.com/ansible/latest/user\_guide/playbooks\_variables.html#variables-discovered-from-systems-facts](https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html#variables-discovered-from-systems-facts)

---

<div class="post-metadata">

**Author:** ![vikram\_acharya](https://avatars.discourse-cdn.com/v4/letter/v/65b543/32.png) [@vikram\_acharya](https://forum.ansible.com/u/vikram_acharya)\
**Post date:** [April 18, 2019, 1:50pm UTC](https://forum.ansible.com/t//30146/3 "2019-04-18T13:50:47Z")

</div>

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 ?

---

<div class="post-metadata">

**Author:** ![Vijay\_Ravindran](https://avatars.discourse-cdn.com/v4/letter/v/34f0e0/32.png) [@Vijay\_Ravindran](https://forum.ansible.com/u/Vijay_Ravindran)\
**Post date:** [April 18, 2019, 2:12pm UTC](https://forum.ansible.com/t//30146/4 "2019-04-18T14:12:15Z")

</div>

Viktam, As a work around try updating as

```auto
 "ansible_os_family": "RedHat",

```

as per the document provided by Jon.

---

<div class="post-metadata">

**Author:** ![cassell](https://avatars.discourse-cdn.com/v4/letter/c/ecae2f/32.png) [@cassell](https://forum.ansible.com/u/cassell)\
**Post date:** [April 18, 2019, 2:12pm UTC](https://forum.ansible.com/t//30146/5 "2019-04-18T14:12:19Z")

</div>

> 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
