# Ansible setup warning

**URL:** <https://community.learnlinux.tv/t/ansible-setup-warning/754>\
**Category:** Uncategorized\
**Created:** [August 12, 2021, 5:24am UTC](https://community.learnlinux.tv/t/ansible-setup-warning/754 "2021-08-12T05:24:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mainedan](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/mainedan/32/296_2.png) [@mainedan](https://community.learnlinux.tv/u/mainedan)\
**Post date:** [August 12, 2021, 5:24am UTC](https://community.learnlinux.tv/t/ansible-setup-warning/754/1 "2021-08-12T05:24:32Z")

</div>

I couldn’t see if another topic on this was created so I figured I would add another one…

I am going through the getting starrted ansible series and get a warning when doing the ping command, then it pings the 2 servers I have set up.

```auto
[WARNING]: Platform linux on host asus-laptop is using the discovered Python interpreter at /usr/bin/python3,
but future installation of another Python interpreter could change the meaning of that path. See
https://docs.ansible.com/ansible/2.10/reference_appendices/interpreter_discovery.html for more information.
asus-laptop | SUCCESS => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "ping": "pong"
}
74.91.116.168 | SUCCESS => {
    "ansible_facts": {
        "discovered_interpreter_python": "/usr/bin/python3"
    },
    "changed": false,
    "ping": "pong"

```

I found adding

```auto
[py3-hosts]
asus-laptop

[py3-hosts:vars]
ansible_python_interpreter=/usr/bin/python3

```

to the inventory kinda worked, but I get this now  
`[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details`

Hope I am posting this correctly 🙂

---

<div class="post-metadata">

**Author:** ![mainedan](https://community.learnlinux.tv/user_avatar/community.learnlinux.tv/mainedan/32/296_2.png) [@mainedan](https://community.learnlinux.tv/u/mainedan)\
**Post date:** [August 12, 2021, 6:31am UTC](https://community.learnlinux.tv/t/ansible-setup-warning/754/2 "2021-08-12T06:31:28Z")

</div>

I figured it mostly out, I had a - in the [py3-hosts] and the [py3-hosts:vars] should have been an underscore (bah, syntax stuff lol)  
now everything seems to wok except the laptop that I have pop-os installed I get this

```auto
asus-laptop | SUCCESS => {
    "cache_update_time": 1628747073,
    "cache_updated": false,
    "changed": false

```

the other hosts say true
