Sha256: ed40cb4d4942a8834bdf2f9cb9b1a947104c1cd154b484001bdfcd9c3a560931

Contents?: true

Size: 848 Bytes

Versions: 3

Compression:

Stored size: 848 Bytes

Contents

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

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

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

  - name: "Join the tailnet and force reauth"
    become: true
    command: tailscale up --ssh --auth-key={{tailscale_auth_key}} --hostname={{project_name}}-{{hostname}} --accept-risk=lose-ssh {{tailscale_options}} --force-reauth
    tags: [ 'never', 'tailscale_reauth' ]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
subspace-3.0.4 ansible/roles/tailscale/tasks/main.yml
subspace-3.0.3 ansible/roles/tailscale/tasks/main.yml
subspace-3.0.2 ansible/roles/tailscale/tasks/main.yml