Institute of Computer Science
  1. Courses
  2. 2022/23 spring
  3. System Administration (LTAT.06.003)
ET
Log in

System Administration 2022/23 spring

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

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

As documented on the Exam page, this role introduces relatively simple failures that you should be able to handle without much effort.

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 tier1 role like this: git clone https://gitlab.cs.ut.ee/systemadministration/tier1.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:
  - tier1

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!

  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment