GithubHelp home page GithubHelp logo

bendews / ansible-cloudflared Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 10.0 16 KB

Install cloudflared and systemd service for DNS-Over-HTTPS

License: MIT License

ansible ansible-role cloudflare-dns dns-over-https doh

ansible-cloudflared's People

Contributors

antifob avatar bendews avatar richardslater avatar wyhasany avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ansible-cloudflared's Issues

Upgrade task fails when cloudflared is updated

This line says the task changes when the rc code is 64:

changed_when: update_command.rc == '64'

However, I see:

TASK [bendews.cloudflared : command] **************************************************************************************************
fatal: [rpi1]: FAILED! => {"changed": false, "cmd": ["cloudflared", "update"], "delta": "0:00:08.572855", "end": "2021-02-22 13:10:43.564737", "msg": "non-zero return code", "rc": 11, "start": "2021-02-22 13:10:34.991882", "stderr": "\u001b[36mINFO\u001b[0m[2021-02-22T13:10:43-05:00] cloudflared has been updated to version 2021.2.2\ncloudflared has been updated to version 2021.2.2", "stderr_lines": ["\u001b[36mINFO\u001b[0m[2021-02-22T13:10:43-05:00] cloudflared has been updated to version 2021.2.2", "cloudflared has been updated to version 2021.2.2"], "stdout": "", "stdout_lines": []}
``

...which shows a) cloudflared is updated with an rc code of 11, and b) this is a failed task because the rc code is not zero.

How do I use this?

I'm new to Ansible, so I tried dropping this repo in a dozen places and none of them did it work with your pihole gist. For every one it said "can't find role bendews.cloudflared". This repo doesn't seem to have a roles directory; neither does the pihole gist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.