--- - name: Add Cloudflare Tunnel route become: yes lineinfile: path: /etc/cloudflared/config.yaml regexp: "- hostname: flarum\.bubblesthebunny\.com[\W]*service: https:\/\/localhost:8544" line: |- - hostname: flarum.bubblesthebunny.com service: https://localhost:8544 insertbefore: "- service: http_status:404" - name: Restart Cloudflared become: yes systemd: name: cloudflared state: restarted