Skip to content

fjcloud/snocp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assisted deployment of Single Node OpenShift

This Ansible role will permits you to deploy with https://cloud.redhat.com a SNO.

Requirements

  • Ansible >= 2.10
  • Terraform >= 1.2.6

Authentication

Create auth.yml file :

Get offline token on https://console.redhat.com/openshift/token

---

snocp_offline_token: "xxxxxxxxxxxxxxxxxx"

snocp_ssh_pub: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"

snocp_ssh_priv_path: "~/.ssh/id_rsa"

snocp_hcloud_token: "{{ lookup('env','HCLOUD_TOKEN') }}"

Deployment on Hetzner

Export HCLOUD_TOKEN

Generate a token https://docs.hetzner.com/cloud/api/getting-started/generating-api-token/

$ export HCLOUD_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxx

Deploy SNO

$ ansible-playbook deploy_snocp.yml

Finish install on OCM URL given in ouput of Ansible Playbook

Remove SNO

$ ansible-playbook deploy_snocp.yml -e snocp_tf_state=absent

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published