Giter Site home page Giter Site logo

Comments (7)

kewlfft avatar kewlfft commented on July 23, 2024

I can't reproduce it, were you able to identify the cause of it?

from ansible-aur.

dmp1ce avatar dmp1ce commented on July 23, 2024

I'm getting the error from a Vagrant configuration. I'm working a a simple example to show you. The Vagrant box I am using is archlinux/archlinux.

I was able to get this message after running on a Vagrant machine which already had Trizen installed.

TASK [Install trizen] **********************************************************
 [WARNING]: Module remote_tmp /home/aur_builder/.ansible/tmp did not exist and
was created with a mode of 0700, this may cause issues when running as another
user. To avoid this, create the remote_tmp dir with the correct permissions
manually

ok: [default] => {"changed": false, "helper": "makepkg", "msg": "package(s) already installed", "rc": 0}

from ansible-aur.

dmp1ce avatar dmp1ce commented on July 23, 2024

I was using the python2 interpreter. I think that was causing the issue for me. Try setting python interpreter with ansible_python_interpreter: /usr/bin/python2 and see if you can reproduce.

Which version of Python should be used with Ansible? 2 or 3?

from ansible-aur.

kewlfft avatar kewlfft commented on July 23, 2024

Since Arch switched a few months ago Ansible to Python 3, this is what I use and recommend. You may want to use this module with version 2 and submit some PR to improve compatibility with Python 2, I will accept them.

from ansible-aur.

dmp1ce avatar dmp1ce commented on July 23, 2024

I think it will be easier for me to switch to using Python 3. If I cannot do that then I will work on Python 2 support.

from ansible-aur.

kewlfft avatar kewlfft commented on July 23, 2024

Not able to reproduce it and no intention to maintain compatibility with Python 2

from ansible-aur.

dmp1ce avatar dmp1ce commented on July 23, 2024

No problem. I was overriding some python paths so it was probably an issue I created.

from ansible-aur.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.