# Ansible and OpenSuse 11.4

**URL:** <https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977>\
**Category:** Ansible Project\
**Tags:** ubuntu\
**Created:** [June 18, 2013, 12:52am UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977 "2013-06-18T00:52:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mario\_Adrian\_Lopez\_A](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mario\_Adrian\_Lopez\_A](https://forum.ansible.com/u/Mario_Adrian_Lopez_A)\
**Post date:** [June 18, 2013, 12:52am UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/1 "2013-06-18T00:52:08Z")

</div>

Hi Everyone.

I’m currently trying to connect to an OpenSuse machine.  
It’s an OpenSuse 11.4 server with the minimum requirements to use it with ansible.  
The problem is that when I’m trying to gather some info with the ansible command, it returns this error:

mario@ThinkPad:~$ ansible 192.168.1.225 -m setup -i hosts -u gaz -k -v  
SSH password:  
192.168.1.225 | FAILED =\> failed to transfer file to /setup

I can connect to sftp and ssh with no problems.

The ansible version that I’m using is:

mario@ThinkPad:~$ ansible --version  
ansible 1.3

It was downloaded directly fro the ubuntu repos.

Hope anyone can help me. Thanks!

---

<div class="post-metadata">

**Author:** ![Lester\_Wade](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Post date:** [June 18, 2013, 4:29pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/2 "2013-06-18T16:29:02Z")

</div>

Hi Mario,

Can you get the output of -vvv ? It sounds like its unable to get a particular host fact and then dying. This should show us which one.

---

<div class="post-metadata">

**Author:** ![Michael\_DeHaan2](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Post date:** [June 18, 2013, 4:44pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/3 "2013-06-18T16:44:45Z")

</div>

I don’t think it’s related to a fact failure as it said it could not copy the setup module over.

Did you perhaps have ANSIBLE\_REMOTE\_TMP set to “/” ?

Otherwise, it’s for some reason not trying to put the file in your home directory. Any info about how your setup is customized would be interesting.

Shouldn’t be any SLES-specific problems here.

---

<div class="post-metadata">

**Author:** ![Greg\_Andrews](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@Greg\_Andrews](https://forum.ansible.com/u/Greg_Andrews)\
**Post date:** [June 18, 2013, 4:59pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/4 "2013-06-18T16:59:39Z")

</div>

I've run into this a couple of times when the account on the remote machine  
did not own its home directory. This was because of a config error at  
server install time.

I've also seen a similar issue on servers where accounts are maintained in  
LDAP, home directories are not automounted, and the local PAM configuration  
files are missing the call to automatically create the user's home  
directory on the first login. That produced an error similar to "No home  
directory! Using HOME=/". I don't think Mario is having this particular  
problem, though.

&nbsp;&nbsp;-Greg

---

<div class="post-metadata">

**Author:** ![Lester\_Wade](https://avatars.discourse-cdn.com/v4/letter/l/97f17d/32.png) [@Lester\_Wade](https://forum.ansible.com/u/Lester_Wade)\
**Post date:** [June 18, 2013, 5:09pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/5 "2013-06-18T17:09:24Z")

</div>

True, ^ a far more sensible answer 🙂

---

<div class="post-metadata">

**Author:** ![Mario\_Adrian\_Lopez\_A](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@Mario\_Adrian\_Lopez\_A](https://forum.ansible.com/u/Mario_Adrian_Lopez_A)\
**Post date:** [June 20, 2013, 7:49pm UTC](https://forum.ansible.com/t/ansible-and-opensuse-11-4/12977/6 "2013-06-20T19:49:33Z")

</div>

Sorry guys, maybe it was a misconfiguration like Greg said.

I reinstalled openSuse and it worked.

Thanks everyone.
