Arvutiteaduse instituut
  1. Kursused
  2. 2022/23 kevad
  3. Süsteemihaldus (LTAT.06.003)
EN
Logi sisse

Süsteemihaldus 2022/23 kevad

  • Home
  • Practicals
  • Slack
  • FAQ
  • Exam
  • References

This is the documentation for the third tier exam preparation Ansible role.

NB! Do not start this playbook if you're not willing to go through with it. These tasks are way more difficult than we ask in the exam, and finding the issues might take quite a while.

As documented on the Exam page, this role includes problems that are way more difficult than we will ask of you during the exam. If you manage to complete this set of problems without worries, then you should have no problems getting a maximum grade during the exam.

When downloading the role you have full visibility into what the role does. We recommend trying to fix the issues without having a look before, so you'll get an idea which failures cause which errors and log lines.

Using the playbook

The playbook is distributed as an Ansible role. Running it requires including it into a playbook, that runs on your VM with root or sudo privileges.

We recommend a folder layout like this:

ansible
├── hosts
├── roles/
└── playbook.yml

And into the roles folder you can download the tier3 role like this: git clone https://gitlab.cs.ut.ee/systemadministration/tier3.git (you may need to dnf install git -y beforehand).

After that, include the role in your playbook.yml, for an example like this:

- hosts: localhost
  user: centos
  become: yes
  become_user: root

  roles:
  - tier3

And run the playbook with ansible-playbook playbook.yml.

Keep in mind, this playbook only has an effect when you run it when you've completed the labs! Otherwise it will just break your machine more!

  • Arvutiteaduse instituut
  • Loodus- ja täppisteaduste valdkond
  • Tartu Ülikool
Tehniliste probleemide või küsimuste korral kirjuta:

Kursuse sisu ja korralduslike küsimustega pöörduge kursuse korraldajate poole.
Õppematerjalide varalised autoriõigused kuuluvad Tartu Ülikoolile. Õppematerjalide kasutamine on lubatud autoriõiguse seaduses ettenähtud teose vaba kasutamise eesmärkidel ja tingimustel. Õppematerjalide kasutamisel on kasutaja kohustatud viitama õppematerjalide autorile.
Õppematerjalide kasutamine muudel eesmärkidel on lubatud ainult Tartu Ülikooli eelneval kirjalikul nõusolekul.
Courses’i keskkonna kasutustingimused