Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.71 KB

remote-execution.md

File metadata and controls

37 lines (32 loc) · 1.71 KB

Remote execution

In case you want to execute the playbooks on your laptop and install OpenShift at your Hetzner Server. Like this:

  ┌───────────────────────────────────┐
  │                                   │
  │ Hetzner Server                 ▲  │
  │                                │  │
  └────────────────────────────────┼──┘
                                   │
                                  SSH
                                   │
  ┌────────────────────────────────┬───┐
  │Local Workstation/Laptop        │   │
  │                                │   │
  │ ┌──────────────────────────────┼─┐ │
  │ │ Ansible runner (Podman)      │ │ │
  │ │                                │ │
  │ │                                │ │
  │ └────────────────────────────────┘ │
  │                                    │
  └────────────────────────────────────┘

Just edit inventory/hosts.yaml and change ansible_host to your Hetzner Server. And strongly recommended to add artifacts_dir for exmaple /root/hetzner-ocp4/ where the artifacts (certifcates, kubeconf) is stored during the installation.

One example:

---
all:
  hosts:
    host:
      ansible_host: tester.openshift.pub
      artifacts_dir: /root/hetzner-ocp4/