Sha256: 635401149543bf6cbd96f71e0fe68c66b66dc886d80bff5e0ada4bde55d969fb

Contents?: true

Size: 684 Bytes

Versions: 1

Compression:

Stored size: 684 Bytes

Contents

---
  - name: "Add Tailscale apt key"
    become: true
    apt_key:
      url: https://pkgs.tailscale.com/stable/ubuntu/{{ansible_distribution_release}}.gpg
      state: present

  - name: "Add Tailscale apt repos"
    become: true
    apt_repository:
      repo: "deb https://pkgs.tailscale.com/stable/ubuntu {{ansible_distribution_release}} main"
      state: present

  - name: "Install tailscale from api"
    apt:
      name: tailscale
      state: latest
      update_cache: yes

  - name: "Join the tailnet"
    become: true
    command: tailscale up --ssh --auth-key={{tailscale_auth_key}} --hostname={{project_name}}-{{hostname}} --accept-risk=lose-ssh {{tailscale_options}}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
subspace-3.0.0 ansible/roles/tailscale/tasks/main.yml