Giter VIP home page Giter VIP logo

Comments (5)

artis3n avatar artis3n commented on June 7, 2024

This action only support Linux-based distros. Windows and OSX users should use the GUI installations or find another role.

from ansible-role-tailscale.

kerrhome avatar kerrhome commented on June 7, 2024

Latest stable macOS app: https://pkgs.tailscale.com/stable/#macos Looks like we can unzip and move to the /Applications folder. I might do a fork and pull request. If you have looked at this, @artis3n, and have any thoughts, please share. :) Update: Sorry, I guess you've already decided that you want this to stay a Linux-only role. I may still fork to take advantage of the rest of your great work.

from ansible-role-tailscale.

artis3n avatar artis3n commented on June 7, 2024

Yeah I decided this role should focus on Linux because most of the configuration options are unavailable on OSX and Windows. As far as installing goes, it felt confusing to end users to call the OS supported but lock out most of the role's capabilities.

If you'd like Ansible to install Tailscale on OSX, you can unzip to the Applications folder with three tasks:

- name: Install Dependencies
  ansible.builtin.pip:
    name: github3.py
    state: present

- name: Get latest release
  # Note this module requires github3.py to be pip installed on the target
  community.general.github_release:
    user: tailscale
    repo: tailscale
    action: latest_release
  register: tailscale_version

- name: Extract Tailscale
  become: true
  ansible.builtin.unarchive:
    src: https://pkgs.tailscale.com/stable/Tailscale-{{ tailscale_version[1:] }}-macos.zip
    dest: /Applications/Tailscale.app
    remote_src: true

Wrote those off the top of my head, they may need some syntax tweaking.

from ansible-role-tailscale.

artis3n avatar artis3n commented on June 7, 2024

Although given the fact that native App Store apps are granted access to the Network Extension, it may be a better idea to use https://apps.apple.com/ca/app/tailscale/id1475387142 and https://docs.ansible.com/ansible/latest/collections/community/general/mas_module.html.

I do think it would be useful for a dedicated OSX role to support both installation methods, let the user do either!

from ansible-role-tailscale.

artis3n avatar artis3n commented on June 7, 2024

This would be a good topic for a discussion!

from ansible-role-tailscale.

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.