Giter Site home page Giter Site logo

Comments (4)

gotmax23 avatar gotmax23 commented on May 20, 2024

Change this line from create_home: no to create_home: yes.

from ansible-aur.

pakyrs avatar pakyrs commented on May 20, 2024

Thanks, now I get greeted with this:

TASK [aur] *********************************************************************
[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
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "env LC_ALL=C LANGUAGE=C yay -S --noconfirm --needed --cleanafter package_name", "msg": " -> Could not find all required packages:\n\tpackage_name (Target)", "rc": 1, "stderr": " -> Could not find all required packages:\n\tpackage_name (Target)\n", "stderr_lines": [" -> Could not find all required packages:", "\tpackage_name (Target)"], "stdout": "", "stdout_lines": []}
...ignoring

Am I doing this wrong? If my ansible playbook gets elevated at first to perfom tasks, when it gets to the aur module, it should just use the aur_builder user created.

Thanks

P

from ansible-aur.

gotmax23 avatar gotmax23 commented on May 20, 2024

Now, it seems like it is working correctly. Your problem is that there is no package called package_name.

- Maxwell

from ansible-aur.

adamantike avatar adamantike commented on May 20, 2024

Should this be fixed, or at least explained a little bit, in the project's Readme? As its example uses create_home: no to create the aur_builder user, since d05e0bc

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.