sebdanielsson.cloudflared

cloudfared (Cloudflare Zero Access Tunnel)

This role installs cloudflared (Cloudflare Zero Access Tunnel) on Debian, RedHat, and Archlinux systems. It can create a service and connect to Cloudflare if you provide credentials.

This is my first Ansible role, and it’s not fully developed. Feel free to submit a PR if you'd like to add more features for cloudflared!

Requirements

  • systemd init system
  • Debian family systems (mostly all currently supported)
  • RedHat family systems with the dnf package manager
  • Archlinux family systems with pacman
  • ansible-core 2.15.1 because of the deb822_repository module

Role Variables

cloudflare_tunnel_enable - Decide whether to create a service for the tunnel. This needs cloudflare_tunnel_credential to be set.
cloudflare_tunnel_credential - You must provide a credential to establish the tunnel.

Dependencies

None.

Example Playbook

- hosts: localhost

  roles:
    - role: sebdanielsson.cloudflared
      vars:
        cloudflare_tunnel_enable: true
        cloudflare_tunnel_credential: <your_cf_tunnel_credential>
      state: present

License

MIT

Author Information

Created by Sebastian Danielsson 2023
GitHub Profile: https://github.com/sebdanielsson
Website: https://sebbo.io

Informazioni sul progetto

Install and configure cloudflared (Cloudflare Zero Access Tunnel) on Debian, RedHat and Archlinux family systems.

Installa
ansible-galaxy install sebdanielsson.cloudflared
Licenza
mit
Download
2.9k
Proprietario