bendews.cloudflared

cloudflared

This role makes it easier to install and set up the cloudflared package. It is often used as a DNS-Over-HTTPS proxy for the Cloudflare 1.1.1.1 service.

Requirements

  • Python version 2.6 or higher
  • Ansible version 2.4 or higher
  • systemd

Role Variables

Here are the available variables with their default values (check defaults/main.yml for more editable options):

cloudflared_allow_firewall: false
cloudflared_enable_service: true
cloudflared_upstream: "https://1.1.1.1/dns-query"
cloudflared_port: 5053
cloudflared_options: "proxy-dns --port {{ cloudflared_port }} --upstream {{ cloudflared_upstream }}"
cloudflared_bin_location: "/usr/local/bin"

Example Playbook

- hosts: servers
  tasks:
    - name: Install and Configure cloudflared
      include_role:
        name: bendews.cloudflared
      vars:
        cloudflared_allow_firewall: false
        cloudflared_enable_service: false
        cloudflared_port: 5053

TODO:

  • None

License

MIT

Author Information

Created in 2018 by Ben Dews

Informazioni sul progetto

Install cloudflared and systemd service for DNS-Over-HTTPS

Installa
ansible-galaxy install bendews.cloudflared
Licenza
mit
Download
259
Proprietario
Engineer with a passion for network & infrastructure automation