{"id":15878969,"url":"https://github.com/darkwizard242/ansible-role-duf","last_synced_at":"2026-04-09T20:45:04.523Z","repository":{"id":43656672,"uuid":"418005944","full_name":"darkwizard242/ansible-role-duf","owner":"darkwizard242","description":"Ansible role for 'duf'. Available on Ansible Galaxy. ","archived":false,"fork":false,"pushed_at":"2024-06-20T21:47:53.000Z","size":41,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T02:05:22.396Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","disk-usage","disk-utility","duf","linux"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/darkwizard242/duf","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/darkwizard242.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-17T03:09:17.000Z","updated_at":"2024-06-20T21:47:26.000Z","dependencies_parsed_at":"2024-04-09T03:33:03.089Z","dependency_job_id":"7c7d7ba1-1cb4-4a53-b169-37e5f459e357","html_url":"https://github.com/darkwizard242/ansible-role-duf","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-duf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-duf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-duf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-duf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-duf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550284,"owners_count":19657541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-galaxy","ansible-role","disk-usage","disk-utility","duf","linux"],"created_at":"2024-10-06T02:42:36.297Z","updated_at":"2026-04-09T20:45:04.510Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![build-test](https://github.com/darkwizard242/ansible-role-duf/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-duf/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-duf/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-duf/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/duf) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-duf\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-duf) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-duf\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-duf) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-duf\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-duf) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-duf?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-duf?color=orange\u0026style=flat-square)\n\n# Ansible Role: duf\n\nRole to install (_by default_) [duf](https://github.com/muesli/duf) on **Debian/Ubuntu** and **EL** systems. A better alternative to 'df'.\n\n## Requirements\n\nNone.\n\n## Role Variables\n\nAvailable variables are listed below (located in `defaults/main.yml`):\n\n### Variables list:\n\n```yaml\nduf_app: duf\nduf_desired_state: present\nduf_version: 0.9.1\nduf_os: \"linux\"\nduf_architecture_map:\n  amd64: amd64\n  arm: arm64\n  x86_64: amd64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: amd64\n\n# For Debian/Ubuntu Family\nduf_debian_url: \"https://github.com/muesli/{{ duf_app }}/releases/download/v{{ duf_version }}/{{ duf_app }}_{{ duf_version }}_{{ duf_os }}_{{ duf_architecture_map[ansible_architecture] }}.deb\"\n\n# For EL Family\nduf_el_url: \"https://github.com/muesli/{{ duf_app }}/releases/download/v{{ duf_version }}/{{ duf_app }}_{{ duf_version }}_{{ duf_os }}_{{ duf_architecture_map[ansible_architecture] }}.rpm\"\n```\n\n### Variables table:\n\nVariable             | Description\n-------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------\nduf_app              | Defines the app to install i.e. **duf**\nduf_desired_state    | Defined to dynamically chose whether to install (i.e. either `present` or `latest`) or uninstall (i.e. `absent`) the package. Defaults to `present`.\nduf_version          | Defined to dynamically fetch the desired version to install. Defaults to: **0.9.1**\nduf_os               | Defines OS type. Used for obtaining the correct type of binaries based on OS. Defaults to: **linux**\nduf_architecture_map | Defines Architecture type. Used for obtaining the correct type of binaries based on Architecture.\nduf_debian_url       | Defines URL to download the 'deb' package from for Debian/Ubuntu family systems.\nduf_el_url           | Defines URL to download the 'rpm' package from for EL family systems.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **duf**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.duf\n```\n\nFor customizing behavior of role (i.e. specifying the desired **duf** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.duf\n  vars:\n    duf_version: 0.6.1\n```\n\nFor customizing behavior of role (i.e. different os architecture of **duf** package like arm64) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.duf\n  vars:\n    duf_arch: \"arm64\"\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-duf/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-duf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-duf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-duf/lists"}