{"id":22845559,"url":"https://github.com/idealista/consul_role","last_synced_at":"2025-07-02T09:04:38.575Z","repository":{"id":45214951,"uuid":"115113358","full_name":"idealista/consul_role","owner":"idealista","description":" Ansible role to install Consul (cluster of) server/agent","archived":false,"fork":false,"pushed_at":"2025-04-23T10:48:17.000Z","size":299,"stargazers_count":14,"open_issues_count":0,"forks_count":15,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-28T16:57:47.620Z","etag":null,"topics":["ansible","ansible-role","clustering","consul","consul-agent","consul-ansible","consul-server","consul-ui","debian"],"latest_commit_sha":null,"homepage":"","language":"YAML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idealista.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"zenodo":null}},"created_at":"2017-12-22T12:27:12.000Z","updated_at":"2025-04-23T10:44:07.000Z","dependencies_parsed_at":"2024-05-06T17:53:10.782Z","dependency_job_id":"76ab173c-ca94-4b43-91a1-22ff9961ad15","html_url":"https://github.com/idealista/consul_role","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/idealista/consul_role","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fconsul_role","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fconsul_role/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fconsul_role/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fconsul_role/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idealista","download_url":"https://codeload.github.com/idealista/consul_role/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idealista%2Fconsul_role/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263108807,"owners_count":23415005,"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-role","clustering","consul","consul-agent","consul-ansible","consul-server","consul-ui","debian"],"created_at":"2024-12-13T03:17:38.058Z","updated_at":"2025-07-02T09:04:38.542Z","avatar_url":"https://github.com/idealista.png","language":"YAML","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Logo](https://raw.githubusercontent.com/idealista/consul_role/master/logo.gif)\n\n# Consul Ansible role\n\nAnsible role to install Consul (cluster of) server/client in a Debian environment.\n\n- [Getting Started](#getting-started)\n    - [Prerequisities](#prerequisities)\n    - [Installing](#installing)\n- [Usage](#usage)\n- [Testing](#testing)\n- [Built With](#built-with)\n- [Versioning](#versioning)\n- [Authors](#authors)\n- [License](#license)\n- [Contributing](#contributing)\n\n## Getting Started\n\nThese instructions will get you a copy of the role for your Ansible Playbook. Once launched, it will install Consul in a Debian system.\n\n### Prerequisities\n\nAnsible 4.x.x version installed.\nInventory destination should be a Debian environment.\n\nRsyslog needs should be installed. It can be done with this [role](https://github.com/idealista/rsyslog_role).\n\nFor testing purposes, [Molecule](https://molecule.readthedocs.io/) with [Docker](https://www.docker.com/) as driver.\n\n### Installing\n\nCreate or add to your roles dependency file (e.g requirements.yml):\n\n``` yml\n- src: idealista.consul_role\n  version: 1.11.0\n  name: consul\n```\n\nInstall the role with ansible-galaxy command:\n\n```\nansible-galaxy install -p roles -r requirements.yml -f\n```\n\nUse in a playbook:\n\n``` yml\n---\n- hosts: someserver\n  roles:\n    - consul\n```\n\n## Usage\n\nLook to the defaults properties file (`defaults/main.yml`) to see the possible configuration properties.\n\nLogging uses rsyslog by default. It can be changed by overriding the `consul_service_log_output` variable. It can be changed to `journal` or other options seen at the StandardOutput and StandardError sections in:\n * [Debian 9 systemd docs](https://manpages.debian.org/stretch/systemd/systemd.exec.5.en.html)\n * [Debian 10, 11 and 12 systemd docs](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#StandardOutput=)\n\nTo uninstall just set:\n```yml\nconsul_uninstall: true\n```\nKeep in mind that the following files will be removed when uninstalling:\n```\n/etc/rsyslog.d/consul.conf\n/etc/logrotate.d/consul\n```\n\n## Testing\n\n```sh\n$ pipenv sync\n```\n\nFor more information read the [pipenv docs](https://docs.pipenv.org/).\n\n### Testing\n\n```sh\n$ pipenv run molecule -c molecule/default/molecule.yml test \n```\n\n## Built With\n\n![Ansible](https://img.shields.io/badge/ansible-4.6.0-green.svg)\n![Molecule](https://img.shields.io/badge/molecule-3.5.2-green.svg)\n![Goss](https://img.shields.io/badge/goss-0.3.16-green.svg)\n\n## Versioning\n\nFor the versions available, see the [tags on this repository](https://github.com/idealista/consul_role/tags).\n\nAdditionaly you can see what change in each version in the [CHANGELOG.md](CHANGELOG.md) file.\n\n## Authors\n\n* **Idealista** - *Work with* - [idealista](https://github.com/idealista)\n\nSee also the list of [contributors](https://github.com/idealista/consul_role/contributors) who participated in this project.\n\n## License\n\n![Apache 2.0 License](https://img.shields.io/hexpm/l/plug.svg)\n\nThis project is licensed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license - see the [LICENSE](LICENSE) file for details.\n\n## Contributing\n\nPlease read [CONTRIBUTING.md](.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fconsul_role","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidealista%2Fconsul_role","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidealista%2Fconsul_role/lists"}