diff --git a/ansible/hesperia.yml b/ansible/hesperia.yml index d5f2f097f932f2cc70804a4d6207c4e90b5ef3bb..299870fe19a78d4368dcaabe12ee8ae98607675a 100644 --- a/ansible/hesperia.yml +++ b/ansible/hesperia.yml @@ -201,3 +201,40 @@ - user: rc-ib015 - user: rc-ib016 extra_pkgs: [mtl, exceptions, base-unicode-symbols, HUnit] + + - name: Auxiliary course helpers + block: + - name: Auxiliary course group + group: + name: '{{item}}' + system: true + loop: + - ib015-adm + - fja-adm + + - name: Auxiliary course user + user: + name: '{{item}}' + home: '/home/{{item}}' + create_home: true + move_home: true + system: true + group: '{{item}}' + loop: + - ib015-adm + - fja-adm + + - name: FCGI handlers + systemd: + name: 'fcgiwrap@{{item}}.socket' + state: started + enabled: true + loop: + - ib015-adm + - fja-adm + - www-data + + - name: Extra utilities for course + apt: + pkg: + - python3-tabulate