You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.6 KiB
1.6 KiB
Playbooks description
Bootstrap (bootstrap.yml)
The bootstrap playbook is used to prepare a machine to be managed by Ansible. Namely, it will :
- Create a regular user account (named
redhat) - Add your SSH Public Key to the
authorized_keysofrootandredhat - Install and configure
sudoso that theredhatuser can launch commands asrootwithout password - Register the machine on the RHN (Red Hat Network)
To work, this playbook will require a few environment variables :
| Environment Variable | Description |
|---|---|
| RHN_LOGIN | Your Red Hat Network login |
| RHN_PASSWORD | Your Red Hat Network password |
| RHN_POOLID | The subscription pool you want to use |
Tip : You can get the PoolID by querying :
sudo subscription-manager list --available --matches '*OpenShift*'
This playbook is best used with the Ansible Wrapper.
All-in-one cluster (allinone.yml)
The All-in-one cluster playbook will deploy everyting on one machine. It is very convenient for development or PoC where the focus is on the features rather than on the infrastructure.
Minimal requirements for the target machine are :
- 2 Cores
- 4 GB of RAM
- 30 GB Hard Disk, partitioned as explained in the Machine Preparation Guide
Recommended config :
- 4 Cores
- 10 GB of RAM
- 60 GB Hard Disk, partitioned as explained in the Machine Preparation Guide
See Machine Preparation Guide for more details about partitioning.
Small cluster (TODO)
TODO
Big cluster (TODO)
TODO