diff --git a/README.md b/README.md index 81cb7aa..a65b714 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,21 @@ When the bios shows up, press **** to enter the boot menu and boot from the [![Hetzner install](https://img.youtube.com/vi/q-brW2_23Lo/0.jpg)](https://www.youtube.com/watch?v=q-brW2_23Lo) +In this video at 3:00, I configure in the **Installation Source** a repository that is hosted on another server. +It's just a web server that serves the content of the ISO image: + +```sh +yum install lighttpd +systemctl start lighttpd +mount rhel-server-7.6-x86_64-dvd.iso /var/www/lighttpd/ -o loop,ro +``` + +You can verify that your setup is correct with: + +```sh +curl http://localhost/.treeinfo +``` + ## Getting a public certificates with Let's encrypt On the Ansible control node, install [lego](https://github.com/go-acme/lego): @@ -258,3 +273,115 @@ curl -o /tmp/nexus-functions -s https://raw.githubusercontent.com/OpenShiftDemos source /tmp/nexus-functions add_nexus3_redhat_repos admin admin123 https://nexus.app.itix.fr ``` + +### Ansible Tower + +```sh +oc new-project tower --display-name="Ansible Tower" +oc create -f - < inventory +localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python" + +[all:vars] +admin_user=admin +admin_password="$(head -c16 /dev/urandom |openssl dgst -sha1)" +pg_username=tower +pg_password="$(head -c16 /dev/urandom |openssl dgst -sha1)" +pg_database='tower' +pg_port=5432 +secret_key="$(head -c16 /dev/urandom |openssl dgst -sha1)" +rabbitmq_password="$(head -c16 /dev/urandom |openssl dgst -sha1)" +rabbitmq_erlang_cookie="$(head -c16 /dev/urandom |openssl dgst -sha1)" +openshift_skip_tls_verify=true +openshift_password=dummy # Not used but required by the installer +EOF + +oc apply -f - <