{"id":19224932,"url":"https://github.com/atsistemas/openshift-installers","last_synced_at":"2026-06-13T02:33:57.413Z","repository":{"id":145848374,"uuid":"121361769","full_name":"atSistemas/openshift-installers","owner":"atSistemas","description":"This repos contains installation tasks and helpers to provision openshift on-premise and cloud","archived":false,"fork":false,"pushed_at":"2018-02-13T11:02:22.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-04T21:26:37.218Z","etag":null,"topics":["ansible","openshift","openshift-origin"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/atSistemas.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":"2018-02-13T09:14:07.000Z","updated_at":"2018-02-13T11:13:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"541037dd-6fde-4218-803f-1b6508a94717","html_url":"https://github.com/atSistemas/openshift-installers","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/atSistemas%2Fopenshift-installers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atSistemas%2Fopenshift-installers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atSistemas%2Fopenshift-installers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/atSistemas%2Fopenshift-installers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/atSistemas","download_url":"https://codeload.github.com/atSistemas/openshift-installers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240298489,"owners_count":19779283,"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","openshift","openshift-origin"],"created_at":"2024-11-09T15:13:28.118Z","updated_at":"2026-06-13T02:33:52.386Z","avatar_url":"https://github.com/atSistemas.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# openshift-installers\nThis repos contains installation tasks and helpers to provision openshift on-premise and over cloud\n\n## AWS Openshift Installation\n\nDeploys OpenShift in AWS via cloudformation and ansible byo\n\n### Requirements\n- AWS Account\n- awscli\n- Ansible\n- AWS key pair configured\n\n### AWS Resource creation using CloudFormation\n\n- 1 CentOS-based master node\n- 2 CentOS-based worker nodes\n- A separate VPC and subnets to isolate our environment from any other entities\n- Security groups that will open the following public ports:\n    - 22 SSH for all host\n    - 8443 for the OpenShift Web console, master node\n    - 10250 master proxy to node hosts, master node\n\n```shell\nCF_TEMPLATE_URL=file://openshift-cf.yml\n\n# Where to place your cluster (ireland)\nREGION=eu-west-1\nAVAILABILITY_ZONE=eu-west-1b\n\n# What you want to call your CloudFormation stack\nSTACK_NAME=openshift-cf-stack\n\n# What SSH key you want to allow access to the cluster (must be created ahead of time in your AWS EC2 account)\nSSH_KEYNAME=ssh_key_name\n    \naws cloudformation create-stack \\\n --region $REGION \\\n --stack-name $STACK_NAME \\\n --template-url $CF_TEMPLATE_URL \\\n --parameters \\\n   ParameterKey=AvailabilityZone,ParameterValue=$AVAILABILITY_ZONE \\\n   ParameterKey=KeyName,ParameterValue=$SSH_KEYNAME \\\n --capabilities=CAPABILITY_IAM\n```\n\n### Deploy openshift\n\nOnce the template has run successfully, you need to get the public IPs' of all nodes and update the inventory host file\n\n```shell\ncd ansible\n# change hosts \n[OSEv3:children]\nmasters\netcd\nnodes\n\n[OSEv3:vars]\nansible_ssh_user=ec2-user\nansible_sudo=true\nansible_become=true\n\ndeployment_type=origin\nos_sdn_network_plugin_name='redhat/openshift-ovs-multitenant'\nopenshift_install_examples=true\n\nopenshift_docker_options='--selinux-enabled --insecure-registry 172.30.0.0/16'\nopenshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/openshift/openshift-passwd'}]\nopenshift_disable_check=disk_availability,docker_storage,memory_availability\n\n[masters]\nopenshift-master\tansible_host=##MASTER IP##\n\n[etcd]\nopenshift-master\tansible_host=##MASTER IP##\n\n[nodes]\nopenshift-master\tansible_host=##MASTER IP## openshift_node_labels=\"{'region':'infra','zone':'east'}\" openshift_schedulable=true\nopenshift-worker1\tansible_host=##WORKER1 IP## openshift_node_labels=\"{'region': 'primary', 'zone': 'east'}\"\nopenshift-worker2\tansible_host=##WORKER2 IP## openshift_node_labels=\"{'region': 'primary', 'zone': 'east'}\"\n```\n\nUpdate ansible.cfg with your AWS key pem\n``` bash\n[defaults]\nprivate_key_file=##PATH TO YOUR PEM KEY##\nhost_key_checking = False\ninventory=hosts\n```\n\nRun requirements\n``` bash\nansible-playbook requirements.yml\n```\n\nCheckout openshift-ansible repo\n``` bash\ngit clone https://github.com/openshift/openshift-ansible.git\ncd openshift-ansible\ngit checkout origin/release-3.7\ncd ..\nansible-playbook openshift-ansible/playbooks/byo/config.yml\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsistemas%2Fopenshift-installers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatsistemas%2Fopenshift-installers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatsistemas%2Fopenshift-installers/lists"}