...
 
Commits (10)
......@@ -113,7 +113,7 @@ The prompts `#` show that you are working at root.
**Warning** Please run the following commands just once! In case anything went wrong, follow the instructions of [Decommission/Uninstall a host](#decommissionuninstall-a-host)
* Get a Kerberos ticket (``obelix# kinit -f admin@LAS.KIT.EDU``)
* Go to ansible, by `cd /root/ansible`
* Run `ansible-playbook -l lasXXX.las.kit.edu add_ipa_host.yml --vault-id @prompt`
* Run `ansible-playbook -l lasXXX.las.kit.edu add_ipa_host.yml --vault-password-file password`
and provide the root password for the new host.
......@@ -123,8 +123,8 @@ You may also want to save and run the sudo rule for one user and computer (snipp
* edit the ``add_ipa_host.yml`` and uncomment the uninstall step in it.
## Edit encrypted files
* You can either use `ansible-vault edit --vault-id @prompt group_vars/all/vault.yml` to edit the file in your editor mentioned in the `$EDITOR` environment variable or
* you can decrypt the file `ansible-vault decrypt --vault-id @prompt group_vars/all/vault.yml`, edit the file and encrypt it again `ansible-vault encrypt --ask-vault-pass group_vars/all/vault.yml`
* You can either use `ansible-vault edit --vault-password-file group_vars/all/vault.yml` to edit the file in your editor mentioned in the `$EDITOR` environment variable or
* you can decrypt the file `ansible-vault decrypt --vault-password-file password group_vars/all/vault.yml`, edit the file and encrypt it again `ansible-vault encrypt --ask-vault-pass group_vars/all/vault.yml`
The first one is of cause the preferred one, because there is no risk to add a unencrypted file to the repo.
......
ansible_user: root
user_account: richter
ip_suffix: 118
loc: 620
os: Fedora 29
loc: 622
os: Fedora 32
computer_name: amnesix
......@@ -2,7 +2,7 @@ ansible_user: root
user_account: gethmann
ip_suffix: 91
loc: 618
os: Fedora 30
os: Fedora 32
computer_name: galantine
extra_software:
......
......@@ -2,7 +2,7 @@ ansible_user: root
user_account: ning
ip_suffix: 115
loc: 619
os: Fedora 29
os: Fedora 31
computer_name: pepe
extra_software:
......
ansible_user: root
user_account: tong
loc: -119
os: Fedora 31
computer_name: ueberdrus
extra_software:
- subversion # ANKA software
ip_suffix: 74
......@@ -17,6 +17,7 @@ spuernix.las.kit.edu
teefax.las.kit.edu
troubadix.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[desktop]
amnesix.las.kit.edu
......@@ -35,6 +36,7 @@ spuernix.las.kit.edu
teefax.las.kit.edu
troubadix.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[graphics]
asterix.las.kit.edu
......@@ -59,6 +61,7 @@ pepe.las.kit.edu
teefax.las.kit.edu
troubadix.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[python]
amnesix.las.kit.edu
......@@ -75,6 +78,7 @@ pepe.las.kit.edu
teefax.las.kit.edu
troubadix.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[kdev] # KDevelope
......@@ -93,6 +97,7 @@ lysander.las.kit.edu
asterix.las.kit.edu
pepe.las.kit.edu
idefix.las.kit.edu
ueberdrus.las.kit.edu
[chrome]
lysander.las.kit.edu
......@@ -106,6 +111,7 @@ gutemine.las.kit.edu
homoeopatix.las.kit.edu
methusalix.las.kit.edu
troubadix.las.kit.edu
ueberdrus.las.kit.edu
[latex]
amnesix.las.kit.edu
......@@ -122,6 +128,7 @@ pepe.las.kit.edu
teefax.las.kit.edu
troubadix.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[opera]
amnesix.las.kit.edu
......@@ -148,6 +155,7 @@ obelix.las.kit.edu
faulus.las.kit.edu ansible_python_interpreter=/usr/bin/python3
gutemine.las.kit.edu ansible_python_interpreter=/usr/bin/python3
titania.las.kit.edu ansible_python_interpreter=/usr/bin/python3
ueberdrus.las.kit.edu ansible_python_interpreter=/usr/bin/python3
[rpmbuild]
asterix.las.kit.edu
......@@ -177,6 +185,7 @@ lysander.las.kit.edu
majestix.las.kit.edu
pepe.las.kit.edu
titania.las.kit.edu
ueberdrus.las.kit.edu
[ripgrep]
asterix.las.kit.edu
......
......@@ -101,5 +101,5 @@
become: yes
shell: |
nmcli connection down {{ ansible_default_ipv4.interface }}
nmcli connection up {{ ansible_default_ipv4.interface }}
nmcli connection up KITnet
exit 0