- name: Set up Golink hosts: lotus-land-story vars_files: - vars.yml tasks: - name: Make /mnt/lotus-land-story/golink ansible.builtin.file: path: /mnt/lotus-land-story/golink state: directory mode: "0755" owner: 65532 group: 65532 - name: Run Golink community.docker.docker_container: # recreate: true # restart: true name: golink image: ghcr.io/tailscale/golink:main env: TS_AUTHKEY: "{{ golink.auth_key }}" volumes: - /mnt/lotus-land-story/golink:/home/nonroot restart_policy: unless-stopped # networks: # - name: lotus_land_story # etc_hosts: # host.docker.internal: host-gateway handlers: - name: Import restarts ansible.builtin.import_tasks: restarts.yml # vim: ft=yaml.ansible