{"id":20238261,"url":"https://github.com/pytoshka/openshift-vagrant","last_synced_at":"2025-07-10T01:07:48.403Z","repository":{"id":86286797,"uuid":"164831372","full_name":"pyToshka/openshift-vagrant","owner":"pyToshka","description":"Easy deployment solution for all-in-one Openshift cluster ","archived":false,"fork":false,"pushed_at":"2019-03-14T07:37:20.000Z","size":48,"stargazers_count":15,"open_issues_count":0,"forks_count":6,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-04-10T19:54:47.426Z","etag":null,"topics":["ansible","automation","devops","openshift","openshift-ansible","openshift-cluster","openshift-local","openshift-origin","python","ruby","vagrant"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/pyToshka.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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":"2019-01-09T09:27:24.000Z","updated_at":"2024-03-21T17:37:04.000Z","dependencies_parsed_at":"2023-03-09T06:30:33.571Z","dependency_job_id":null,"html_url":"https://github.com/pyToshka/openshift-vagrant","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pyToshka/openshift-vagrant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyToshka%2Fopenshift-vagrant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyToshka%2Fopenshift-vagrant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyToshka%2Fopenshift-vagrant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyToshka%2Fopenshift-vagrant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pyToshka","download_url":"https://codeload.github.com/pyToshka/openshift-vagrant/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pyToshka%2Fopenshift-vagrant/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264506948,"owners_count":23619104,"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","automation","devops","openshift","openshift-ansible","openshift-cluster","openshift-local","openshift-origin","python","ruby","vagrant"],"created_at":"2024-11-14T08:32:44.352Z","updated_at":"2025-07-10T01:07:48.385Z","avatar_url":"https://github.com/pyToshka.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# openshift-vagrant\n\n\nThis project aims to provision a CentOS 7 with OKD all-in-one, using openshift-ansible with container storage, router, registry, metrics, logging and etc.\u003c/br\u003e\n\nYou can change in environment varibles Vagrantfile file or use os environment varibles. It defaults to origin, v3.11 and 10.0.0.111 respectively.\u003c/br\u003e\n\nAfter vagrant up you'll be able to access your OpenShift instance at: [https://okd.master1.10.0.0.111.nip.io:8443](https://okd.master1.10.0.0.111.nip.io:8443/) with  ```admin:admin```. \u003c/br\u003e\n\n## Brokers\n\n### List of work brokers\n * [Ansible Service Brocker](https://developers.redhat.com/blog/2018/05/23/customizing-an-openshift-ansible-playbook-bundle/)\n * [Service Catalog](https://docs.openshift.com/container-platform/3.11/architecture/service_catalog/index.html)\n\n### CLI for work with them\n * [svcat](https://svc-cat.io/)\n * [apb](http://automationbroker.io/)\n\n## Switch container runtime\n\nFor switching container runtime you need change this setting to `False` in __OSEv3.yml__ (folder __group_vars__):\n```\nopenshift_use_crio: true\nopenshift_use_crio_only: true\n```\n\nThen in __inventory__ file (folder __ansible__) change node group to `node-config-all-in-one` for `okd-master1`:\n```\nokd-master1 openshift_node_group_name=node-config-all-in-one-crio ansible_connection=local\n```\n\n## Hostname of VM\n\nHostname defines here:\n```\nhostname = project + \"-master#{node_nr}\"\n```\n\n## Backup script\n\nIn folder `templates` there is script `backupimage.sh` which can re-tag images and push to your registry.\n\n## Openshift variables\n\nAll variables in vars file located in `group_vars` in file `OSEv3.yml`. Enjoy :) (For comments thanks to [Asgoret](https://github.com/Asgoret))\n\n## Vagrant variables\n\nAll vagrant variables located in `Vagrantfile`. Enjoy :)\n\n## Vagrant DNS\n\nIf you want to add Vagrant DNS use this plugin: [Vagrant DNS](https://github.com/BerlinVagrant/vagrant-dns)\nAnd some examples:\n* Vagrantfile:\n```\n#\n# Create dnsmasq\n#\nconfig.dns.tld = \"okd-vagrant.domain.com\"\nconfig.vm.hostname = \"apps\"\nconfig.dns.patterns = [/^.*apps.okd-vagrant.domain.com$/]\n```\n* Vagrantfile (part __deploy_cluster__):\n```\ndeploy_cluster.extra_vars = {\n...\n    dns_name: \"#{hostname}\"\n```\n* __OSEv3.yml__:\n```\n# OKD URLs\nopenshift_master_cluster_hostname: \"{{ dns_name }}\"\nopenshift_master_cluster_public_hostname: \"okd-vagrant.domain.com\"\nopenshift_master_default_subdomain: \"apps.okd-vagrant.domain.com\"\n```\n\n## LDAP\nLDAP configuratine in vars file located in `group_vars` in file `OSEv3.yml`.\n\n## Dependency\n\n - Vagrant\n - vagrant-hostmanager plugin\n - VirtualBox\n\n## Limitations\n\n - Tested only on MacOS, Suse\n - Only tested with VirtualBox\n\n## Updates:\n\n - Cri-O support many thanks to [Asgoret](https://github.com/Asgoret)\n - Testing on Linux Suse many thanks to [gecube](https://github.com/gecube)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytoshka%2Fopenshift-vagrant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpytoshka%2Fopenshift-vagrant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpytoshka%2Fopenshift-vagrant/lists"}