{"id":18557815,"url":"https://github.com/europ/ansible-variables","last_synced_at":"2026-04-24T16:06:12.747Z","repository":{"id":68438819,"uuid":"260706434","full_name":"europ/ansible-variables","owner":"europ","description":"Simple and concise example of all possible cases for variable definition and usage in Ansible.","archived":false,"fork":false,"pushed_at":"2020-05-28T12:33:57.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-15T14:11:46.664Z","etag":null,"topics":["ansible","example","group-vars","host-vars","inventory","playbook","role","variable","variables"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/europ.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-05-02T14:38:11.000Z","updated_at":"2020-05-28T12:34:00.000Z","dependencies_parsed_at":"2023-04-04T06:02:32.369Z","dependency_job_id":null,"html_url":"https://github.com/europ/ansible-variables","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Fansible-variables","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Fansible-variables/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Fansible-variables/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/europ%2Fansible-variables/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/europ","download_url":"https://codeload.github.com/europ/ansible-variables/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254355412,"owners_count":22057356,"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","example","group-vars","host-vars","inventory","playbook","role","variable","variables"],"created_at":"2024-11-06T21:38:03.831Z","updated_at":"2026-04-24T16:06:07.702Z","avatar_url":"https://github.com/europ.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Travis CI Build Status](https://img.shields.io/travis/com/europ/ansible-variables/master?label=Travis%20CI\u0026logo=travis)](https://travis-ci.com/europ/ansible-variables)\n[![License](https://img.shields.io/github/license/europ/ansible-variables?label=License)](https://github.com/europ/ansible-variables/blob/master/LICENSE)\n\n# Ansible Variables\n\nSimple and concise example of the most common cases for variable definition and usage in Ansible. [Ansible documentation](https://docs.ansible.com/ansible/latest/user_guide/playbooks_variables.html) describes all possible cases for variable definition as well as the evaluation precedence.\n\n### Prerequisites\n\n* basic knowledge of Ansible\n* locally installed python3\n* locally installed ansible\n\n### Notes\n\n* no variable value overwriting\n* variables are printed in precedence order (ascending)\n* role definition is available in `./roles` directory\n* everything is executed on localhost\n\n### Setup\n\n1. repository clone\n1. execute `./run.sh`\n\n### Example\n\n![example](other/img/example.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feurop%2Fansible-variables","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feurop%2Fansible-variables","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feurop%2Fansible-variables/lists"}