This role does the following:
- Downloads these coreos files to the container volume dir:
- rhcos-x.x.x-x86_64-installer-initramfs.img
- rhcos-x.x.x-x86_64-metal-bios.raw.gz
- rhcos-x.x.x-x86_64-installer-kernel
- Copy over your ignition files for worker, bootstrap and master to the container volume dir
- build a podman httpd container and start it
This role requires your ignition files.
Variable | Required | Default | Description |
---|---|---|---|
ocp4_release | yes | 4.2.0 | The release of OCP4 you are installing |
rhcos_webserver_img_name | yes | rhcos-webserver | Name for the webserver container image |
coreos_tmp_dir | yes | /tmp/build_coreos_container | Temp folder used for running podman build |
admin_user | yes | admin | The non root user you are logged as |
podman_webserver | yes | qbn-httpd | Name for the webserver container |
tear_down | yes | false | Set to true to undo it all |
none
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
BSD
Rodrique Heron