GithubHelp home page GithubHelp logo

stdevel / ansible-drawio Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 3.0 19 KB

Installs draw.io

License: Apache License 2.0

Python 100.00%
ansible ansible-role ansible-roles ansible-galaxy ansible-galaxy-role ansible-galaxy-roles drawio diagrams

ansible-drawio's Introduction

Build Status

drawio

This role installs draw.io.

Requirements

The system needs access to the internet.

Role Variables

Variable Default Description
drawio_package_name drawio Name of the package to download (might be draw.io for some platforms/formats)
drawio_version 14.6.13 Particular draw.io version
drawio_use_appimage false Use AppImage rather than OS package

Dependencies

No dependencies.

Example Playbook

Refer to the following example:

    - hosts: clients
      roles:
         - stdevel.drawio

Set variables if required, e.g.:

    - hosts: clients
      roles:
        - role: stdevel.drawio
          drawio_package_name: "draw.io"
          drawio_version: "13.5.7"
          drawio_use_appimage: true

License

Apache 2.0

Author Information

Christian Stankowic ([email protected])

ansible-drawio's People

Contributors

stdevel avatar

Watchers

 avatar

ansible-drawio's Issues

rhel - No group tmp/drawio-13.6.2.deb available

When running on RHEL 8, I got the following error:
fatal: [127.0.0.1]: FAILED! => {"changed": false, "msg": "No group tmp/drawio-13.6.2.deb available.", "results": []}

After replacing in tasks/install_redhat.yml:
"/tmp/drawio-{{ drawio_version }}.deb" to "/tmp/drawio-{{ drawio_version }}.rpm", it worked.

package not found

Hi,
Trying to deploy the latest release of drawio, we encounter the following error:

TASK [stdevel.drawio : Download package] ************************************************************************************************************************************************************************fatal: [debian10]: FAILED! => {"changed": false, "dest": "/tmp/drawio-14.6.13.deb", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/draw.io-amd64-14.6.13.deb"}

Settings to reproduce:

- hosts: debian10
  roles:
  - role: stdevel.drawio
    drawio_version: "14.6.13"
    drawio_use_appimage: false

It seems upstream has changed the package name recently. On 14.4.3 (february '21) package was still called "draw.io". Since then, 14.4.5.1 and 14.6.13 were both released with "drawio". This is true for at least .deb and .rpm. Perhaps this has to do with the new branding?

Anyway, we are about to send a pull request for this.

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.