Giter Site home page Giter Site logo

sebdanielsson / ansible-role-cloudflared Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 135 KB

Ansible role to install and configure cloudflared (Cloudflare Zero Access Tunnel).

Home Page: https://galaxy.ansible.com/ui/standalone/roles/sebdanielsson/cloudflared

License: MIT License

ansible ansible-role cloudflare cloudflared role

ansible-role-cloudflared's People

Contributors

idolize avatar renovate[bot] avatar sebdanielsson avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

idolize

ansible-role-cloudflared's Issues

Ubuntu: No such file or directory: b'cloudflared'

Hi there! I'm trying to run a basic playbook with this role (following the example from the README) but I'm getting an error.

Here's my playbook:

- hosts: localhost

  roles:
    - role: sebdanielsson.cloudflared
      vars:
        cloudflare_tunnel_enable: true
      state: present
      become: true

Here's the relevant output:

TASK [sebdanielsson.cloudflared : Delete cloudflared service] ******************
skipping: [localhost]

TASK [sebdanielsson.cloudflared : Uninstall cloudflared] ***********************
skipping: [localhost]

TASK [sebdanielsson.cloudflared : Install cloudflared] *************************
included: /Users/idol/.ansible/roles/sebdanielsson.cloudflared/tasks/install.yml for localhost

TASK [sebdanielsson.cloudflared : Install | Apt] *******************************
skipping: [localhost]

TASK [sebdanielsson.cloudflared : Install | Dnf] *******************************
skipping: [localhost]

TASK [sebdanielsson.cloudflared : Install | Pacman] ****************************
skipping: [localhost]

TASK [sebdanielsson.cloudflared : Create cloudflared service] ******************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "cloudflared service install", "msg": "[Errno 2] No such file or directory: b'cloudflared'", "rc": 2, "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

It seems like it skips every install task? Maybe that's the issue.

I'm running Ubuntu 22.04.3, and I think it only checks for ansible_distribution == 'Debian' - does that not work for Ubuntu distributions?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

This repository currently has no open or pending branches.

Detected dependencies

ansible-galaxy
molecule/default/requirements.yml
  • community.general 9.1.0
  • ansible.posix 1.5.4
  • community.docker 3.10.4
requirements.yml
  • community.general 9.1.0
github-actions
.github/workflows/ci.yml
  • actions/checkout v4
  • ibiqlik/action-yamllint v3.1.1
  • ansible/ansible-lint v24.6.1
  • actions/checkout v4
  • actions/setup-python v5
  • ubuntu 22.04
  • ubuntu 22.04
.github/workflows/publish.yml
  • actions/checkout v4
  • actions/setup-python v5
  • ubuntu 22.04
pip_requirements
requirements.txt
  • ansible-core ==2.17.1
  • docker ==7.1.0
  • molecule ==24.6.0
  • molecule-plugins ==23.5.3

  • Check this box to trigger a request for Renovate to run again on this repository

Running the ansible

Hello,
Sorry, i am very new to ansible and was wondering how to set this up on my env.
Any help would be appreciated.
Thanks

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.