{"id":50385227,"url":"https://github.com/stackhpc/ansible-role-os-config","last_synced_at":"2026-05-30T14:31:11.299Z","repository":{"id":37749750,"uuid":"111707037","full_name":"stackhpc/ansible-role-os-config","owner":"stackhpc","description":"Ansible role to inject OpenStack client configuration","archived":false,"fork":false,"pushed_at":"2023-11-24T11:21:26.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-04-14T22:50:17.415Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":null,"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/stackhpc.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":".github/CODEOWNERS","security":null,"support":null}},"created_at":"2017-11-22T16:21:13.000Z","updated_at":"2022-07-27T14:28:09.000Z","dependencies_parsed_at":"2022-08-08T21:31:00.106Z","dependency_job_id":null,"html_url":"https://github.com/stackhpc/ansible-role-os-config","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/stackhpc/ansible-role-os-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-os-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-os-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-os-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-os-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stackhpc","download_url":"https://codeload.github.com/stackhpc/ansible-role-os-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stackhpc%2Fansible-role-os-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33696681,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-05-30T14:31:10.522Z","updated_at":"2026-05-30T14:31:11.294Z","avatar_url":"https://github.com/stackhpc.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"stackhpc.os-config\n==================\n\n[![Build Status](https://www.travis-ci.org/stackhpc/ansible-role-os-config.svg?branch=master)](https://www.travis-ci.org/stackhpc/ansible-role-os-config)\n\nAdd openstack client config file to default location of\n`/etc/openstack/clouds.yaml`\n\nRequirements\n------------\n\nNo requirements beyond installing Ansible.\n\nRole Variables\n--------------\n\n`os_config_content` is a string that is written out into the config file.\nIts often best setting that as an inline vault variable.\n\n`os_config_destination` is the directory where the configuration is written.\nThis defaults to the home directory of the ansible user, but another common\nlocation is \"/etc/openstack\".\n\nDependencies\n------------\n\nThere are no requirements for any other Ansible roles.\n\nExample Playbook\n----------------\n\nWhile you probably want to use and inline vault variable, here is a nice\nexample of using this role in a playbook:\n\n    ---\n    - hosts: all\n      vars:\n        ansible_become: yes\n        my_cloud_config: |\n          ---\n          clouds:\n            mycloud:\n              auth:\n                auth_url: http://openstack.example.com:5000\n                project_name: p3\n                username: user\n                password: secretpassword\n              region: RegionOne\n      roles:\n        - role: stackhpc.os-config\n          os_config_content: \"{{ my_cloud_config }}\"\n          os_config_destination: \"/etc/openstack\"\n          os_config_owner: root\n          os_config_group: root\n\nAn easy way to this example is:\n\n    sudo yum install python-virtualenv libselinux-python\n\n    virtualenv .venv --system-site-packages\n    . .venv/bin/activate\n    pip install -U pip\n    pip install -U ansible\n\n    ansible-galaxy install stackhpc.os-config\n\n    ansible-playbook -i \"localhost,\" -c local test.yml\n\nLicense\n-------\n\nApache 2\n\nAuthor Information\n------------------\n\nhttp://www.stackhpc.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-role-os-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstackhpc%2Fansible-role-os-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstackhpc%2Fansible-role-os-config/lists"}