Giter VIP home page Giter VIP logo

Comments (4)

Apollorion avatar Apollorion commented on August 29, 2024

Also, when I try to open the application it says I dont have permission to do so.

drwxr-xr-x, its owned by me with the group admin.

from ansible-macos-apps-install.

Apollorion avatar Apollorion commented on August 29, 2024

Another Update; I think the permissions are the issue here. If I manually set permission to 777 it will allow me to open alfred. I tried 644 as well, like this role uses and it did NOT work. I think something within Alfred needs a higher permission.

from ansible-macos-apps-install.

juju4 avatar juju4 commented on August 29, 2024

f is optional. default to url basename per https://github.com/juju4/ansible-macos-apps-install/blob/master/tasks/darwin.yml#L40 (but somewhat not a filename or extra query strings)
n is the app_name which is used for copy per https://github.com/juju4/ansible-macos-apps-install/blob/master/tasks/archive-install.yml#L69 with default mode 644. for permission check, 755 should be good enough, 777 changes nothing from a read/execution permissions, only write permissions for user group and others.
to is needed for existence check/idempotence.

I found some condition issue in HEAD branch, not sure which version/commit of the role you are using.
Fixed in latest HEAD

From testing in github action
https://github.com/juju4/ansible-macos-apps-install/runs/3986477946?check_suite_focus=true#step:10:733

12896385199        0 drwxr-xr-x    3 root             admin                  96 Oct 24 00:30 /Applications/Alfred 4.app
12896385200        0 drwxr-xr-x   10 root             admin                 320 Oct 24 00:35 /Applications/Alfred 4.app/Contents
 12896392213        0 drwxr-xr-x    3 root             admin                  96 Oct 24 00:35 /Applications/Alfred 4.app/Contents/MacOS
12896392208      848 -rw-r--r--    1 root             wheel              434128 Oct 24 00:35 /Applications/Alfred 4.app/Contents/MacOS/Alfred

Initially, mode was a single definition as input to ansible but seems a preserve option has been added.
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html#parameter-mode
switched to that

all good after that
https://github.com/juju4/ansible-macos-apps-install/runs/3986577625?check_suite_focus=true#step:10:773

12896390407        0 drwxr-xr-x    3 root             admin                  96 Oct 24 01:03 /Applications/Alfred 4.app/Contents/MacOS
12896390398      848 -rwxr-xr-x    1 root             wheel              434128 Oct 24 01:02 /Applications/Alfred 4.app/Contents/MacOS/Alfred

Please try latest HEAD and confirm ok

from ansible-macos-apps-install.

Apollorion avatar Apollorion commented on August 29, 2024

Seems to be working, thank you!

from ansible-macos-apps-install.

Related Issues (1)

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.