{"id":15878981,"url":"https://github.com/darkwizard242/ansible-role-dockercompose","last_synced_at":"2025-03-16T06:33:06.903Z","repository":{"id":39615189,"uuid":"251390426","full_name":"darkwizard242/ansible-role-dockercompose","owner":"darkwizard242","description":"Ansible role for docker-compose. Available on Ansible Galaxy. ","archived":false,"fork":false,"pushed_at":"2024-09-21T02:59:34.000Z","size":113,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-07T02:42:35.361Z","etag":null,"topics":["ansible","ansible-galaxy","ansible-role","container-orchestration","docker","docker-compose","system"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/ui/standalone/roles/darkwizard242/dockercompose/","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":"2020-03-30T18:15:25.000Z","updated_at":"2024-09-21T02:59:18.000Z","dependencies_parsed_at":"2024-02-16T00:25:28.666Z","dependency_job_id":"d0b10093-101a-472e-bb64-6a33ff62e25e","html_url":"https://github.com/darkwizard242/ansible-role-dockercompose","commit_stats":null,"previous_names":[],"tags_count":85,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-dockercompose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-dockercompose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-dockercompose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/darkwizard242%2Fansible-role-dockercompose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/darkwizard242","download_url":"https://codeload.github.com/darkwizard242/ansible-role-dockercompose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221661154,"owners_count":16859488,"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","container-orchestration","docker","docker-compose","system"],"created_at":"2024-10-06T02:42:40.258Z","updated_at":"2025-03-16T06:33:06.896Z","avatar_url":"https://github.com/darkwizard242.png","language":"Python","readme":"[![build-test](https://github.com/darkwizard242/ansible-role-dockercompose/workflows/build-and-test/badge.svg?branch=master)](https://github.com/darkwizard242/ansible-role-dockercompose/actions?query=workflow%3Abuild-and-test) [![release](https://github.com/darkwizard242/ansible-role-dockercompose/workflows/release/badge.svg)](https://github.com/darkwizard242/ansible-role-dockercompose/actions?query=workflow%3Arelease) ![Ansible Role](https://img.shields.io/ansible/role/d/darkwizard242/dockercompose) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-dockercompose\u0026metric=sqale_rating)](https://sonarcloud.io/dashboard?id=ansible-role-dockercompose) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-dockercompose\u0026metric=reliability_rating)](https://sonarcloud.io/dashboard?id=ansible-role-dockercompose) [![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=ansible-role-dockercompose\u0026metric=security_rating)](https://sonarcloud.io/dashboard?id=ansible-role-dockercompose) ![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/darkwizard242/ansible-role-dockercompose?label=release) ![GitHub repo size](https://img.shields.io/github/repo-size/darkwizard242/ansible-role-dockercompose?color=orange\u0026style=flat-square)\n\n# Ansible Role: dockercompose\n\nRole to install (_by default_) [docker-compose](https://github.com/docker/compose/) on **Debian/Ubuntu** and **EL** systems.\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\ndockercompose_app: docker-compose\ndockercompose_version: 2.34.0\ndockercompose_os: \"{{ ansible_system | lower }}\"\ndockercompose_arch: \"x86_64\"\ndockercompose_architecture_map:\n  amd64: x86_64\n  arm: arm64\n  x86_64: x86_64\n  armv6l: armv6\n  armv7l: armv7\n  aarch64: arm64\n  32-bit: \"386\"\n  64-bit: x86_64\ndockercompose_dl_url: https://github.com/docker/compose/releases/download/v{{ dockercompose_version }}/{{ dockercompose_app }}-{{ dockercompose_os }}-{{ dockercompose_architecture_map[ansible_architecture] }}\ndockercompose_bin_path: /usr/local/bin\ndockercompose_file_owner: root\ndockercompose_file_group: root\ndockercompose_file_mode: '0755'\n```\n\n### Variables table:\n\nVariable                       | Description\n------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------\ndockercompose_app              | Defines the app to install i.e. **docker-compose**\ndockercompose_version          | Defined to dynamically fetch the desired version to install. Defaults to: **2.34.0**\ndockercompose_os               | Defines OS type. Used for obtaining the correct type of binaries based on OS.\ndockercompose_architecture_map | Used for obtaining the correct type of binaries based on Architecture.\ndockercompose_dl_url           | Defines URL to download the docker-compose binary from.\ndockercompose_bin_path         | Defined to dynamically set the appropriate path to store docker-compose binary into. Defaults to (as generally available on any user's PATH): **/usr/local/bin**\ndockercompose_owner            | Owner for the binary file of docker-compose.\ndockercompose_group            | Group for the binary file of docker-compose.\ndockercompose_file_mode        | Mode for the binary file of docker-compose.\n\n## Dependencies\n\nNone\n\n## Example Playbook\n\nFor default behaviour of role (i.e. installation of **dockercompose**) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.dockercompose\n```\n\nFor customizing behavior of role (i.e. specifying the desired **dockercompose** version) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.dockercompose\n  vars:\n    dockercompose_version: 1.26.0\n```\n\nFor customizing behavior of role (i.e. placing binary of **dockercompose** package in different location) in ansible playbooks.\n\n```yaml\n- hosts: servers\n  roles:\n    - darkwizard242.dockercompose\n  vars:\n    dockercompose_bin_path: /bin/\n```\n\n## License\n\n[MIT](https://github.com/darkwizard242/ansible-role-dockercompose/blob/master/LICENSE)\n\n## Author Information\n\nThis role was created by [Ali Muhammad](https://www.alimuhammad.dev/).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-dockercompose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarkwizard242%2Fansible-role-dockercompose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarkwizard242%2Fansible-role-dockercompose/lists"}