Comments (5)
This action only support Linux-based distros. Windows and OSX users should use the GUI installations or find another role.
from ansible-role-tailscale.
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.
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.
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.
This would be a good topic for a discussion!
from ansible-role-tailscale.
Related Issues (20)
- [FEAT] Conditionally request tasks by ansible_distribution
- [BUG] No checking if system supports TUN adapters HOT 2
- [BUG] CI suite consistently fails due to container errors HOT 2
- [BUG] Fedora: ansible role fails when systemd is degraded HOT 7
- [FEAT] Create state directory in XDG_STATE_HOME HOT 3
- [CI] ansible-galaxy installs intermittently time out HOT 2
- [BUG] sudo: not found on Proxmox system HOT 9
- The conditional check 'tailscale_original_distribution_major_version == \"NA\"' failed HOT 5
- [BUG] authkey is logged even when insecurely_log_authkey is false HOT 3
- Allow for selfhosted tailscale control server instances / URLs (e.g. Headscale) HOT 2
- Remove Debian 9 from test suite HOT 1
- [BUG] Check mode fails to run (JSONDecodeError) HOT 7
- [BUG] Unable to use vault encrypted value for tailscale_authkey HOT 2
- [FEAT] Should not require tailscale auth key if tailscale is already up HOT 2
- Ubuntu 16.04 CI container can no longer install Tailscale HOT 1
- New Ansible Galaxy HOT 1
- [BUG] Galaxy install fails due to wrong download urls (https://github.com/None prefix) HOT 4
- [FEAT] Enable auto-update feature HOT 2
- [FEAT] add additional URL-style --auth-key flag (ephemeral & preauthorized) HOT 1
- [FEAT] node does not cleanup from tailnet, when logouts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-tailscale.