{"id":18808798,"url":"https://github.com/nimbolus/ansible-openstack","last_synced_at":"2026-01-10T00:30:15.664Z","repository":{"id":43291945,"uuid":"293344970","full_name":"nimbolus/ansible-openstack","owner":"nimbolus","description":"Deploy and maintain OpenStack with Ansible","archived":false,"fork":false,"pushed_at":"2025-02-13T02:08:00.000Z","size":562,"stargazers_count":0,"open_issues_count":11,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T03:21:39.919Z","etag":null,"topics":["ansible","cloud","openstack"],"latest_commit_sha":null,"homepage":"https://nimbolus.de/ansible-openstack/","language":"Jinja","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nimbolus.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-09-06T19:10:04.000Z","updated_at":"2024-11-01T16:33:10.000Z","dependencies_parsed_at":"2024-01-05T11:45:02.716Z","dependency_job_id":"fbc3e0ef-ee4d-43ca-a303-52d2ba024e2a","html_url":"https://github.com/nimbolus/ansible-openstack","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/nimbolus%2Fansible-openstack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fansible-openstack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fansible-openstack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nimbolus%2Fansible-openstack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nimbolus","download_url":"https://codeload.github.com/nimbolus/ansible-openstack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742819,"owners_count":19689390,"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","cloud","openstack"],"created_at":"2024-11-07T23:14:20.072Z","updated_at":"2026-01-10T00:30:15.611Z","avatar_url":"https://github.com/nimbolus.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ansible-openstack\n\n## Requirements\n\nInstall Ansible collections:\n\n```sh\nansible-galaxy install -r requirements.yml\n```\n\nGenerate secrets by run ansible locally:\n\n```sh\nansible localhost -m template -a \"src=secrets.yml.j2 dest=secrets.yml\"\n```\n\nNext create certificate authority and save the key at `/etc/openstack-ca/private/ca.key`\nand the certificate at `/etc/openstack-ca/certs/ca.crt` on the ca node. This can be done manually or\nwith the `copy_ca.yml` playbook. Remember to use the passphrase from `secrets_ca_key_pass` to encrypt the key.\n\n```sh\nansible-playbook copy_ca.yml --extra-vars \"ca_cert_path=./my-ca.crt ca_key_path=./my-ca.key\"\n```\n\nTo install the certificate authority into the system and start a few initial tasks run:\n\n```sh\nansible-playbook main.yml --tags ca,bootstrap --extra-vars \"ca_install_trust=true bootstrap_system_upgrade=true\"\n```\n\nFinally restart all nodes.\n\n## Installation\n\n```sh\nansible-playbook main.yml\n```\n\n## Discover new compute nodes\n\n```sh\nansible controller1 -m shell -b -a 'su -s /bin/sh -c \"nova-manage cell_v2 discover_hosts\" nova'\n```\n\n## Upgrade\n\nSet `bootstrap_openstack_release` to new release and run:\n\n```sh\nansible-playbook main.yml --tags bootstrap\n```\n\nThis will install the new package repository.\nNext upgrade OpenStack and run the database migrations for the new release by executing:\n\n```sh\nansible-playbook main.yml --extra-vars \"package_state=latest\" --tags openstack\n```\n\nUpgrade all other packages and restart at least `httpd`:\n\n```sh\nansible-playbook main.yml --tags bootstrap --extra-vars \"bootstrap_system_upgrade=true\"\nansible controller_nodes -m systemd -b -a \"name=httpd state=restarted\"\n```\n\nFinally remove the old package repository:\n\n```\nsudo dnf repository-packages centos-openstack-ussuri remove-or-reinstall\nsudo dnf remove centos-release-openstack-ussuri\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbolus%2Fansible-openstack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnimbolus%2Fansible-openstack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnimbolus%2Fansible-openstack/lists"}