Commit e27443a9 authored by julian.gethmann's avatar julian.gethmann

Add example hostnames to REDAME

* Extend the IPA bootstrappnig text a bit and use hostnames for the
example.
parent 9bba0e77
......@@ -82,7 +82,7 @@ Be aware that the development branches here are not save and the owner might for
# Run as admin
## Bootstraping
* Add your SSH-key to the host `ssh-copy-id lasXXX.las.kit.edu`
* Do the steps described for the self-setup
* Install ansible dependencies: `dnf install python2-dnf libselinux-python`
* Run `ansible-playbook -K --vault-id @prompt sites.yml` probably with the option `-l lasXXX.las.kit.edu`
## Edit encrypted files
......@@ -92,12 +92,15 @@ Be aware that the development branches here are not save and the owner might for
The first one is of cause the preferred one, because there is no rist to add a unencrypted file to the repo.
## Bootstrap IPA hosts
* Get a Kerberos ticket (``kinit admin@LAS.KIT.EDU``)
In this example the client to bootstrap may be `las112` and the installation takes place from the server `las126`.
The prompts `#` show that you are working at root.
* Add your (root's) SSH-key to the host `las126# ssh-copy-id lasXXX.las.kit.edu`
* Install ansible dependencies on the client: `las112# dnf install python2-dnf libselinux-python`
* Get a Kerberos ticket (``las126# kinit -f admin@LAS.KIT.EDU``)
* For the host with the hostname `lasXXX.las.kit.edu` do the following
* edit a file ``host_vars/lasXXX.las.kit.edu``
* run the command:
```
ansible -l lasXXX.las.kit.edu add_ipa_host.yml -k --vault-id @prompt
las126# ansible -l lasXXX.las.kit.edu add_ipa_host.yml -k --vault-id @prompt
```
and provide the root password for the new host.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment