libreschool-client-manager/root/etc/ansible/roles/common/tasks/main.yml

27 lines
627 B
YAML
Raw Normal View History

2019-05-05 21:42:20 +00:00
---
- name: Import e-smith configuration db
e-smith:
register: esmith
delegate_to: localhost
- name: Add LibreSchool signing key
apt_key:
url: http://repo.libreschool.org/libreschool.asc
state: present
- name: Add LibreSchool repository
apt_repository:
repo: deb http://repo.libreschool.org/ubuntu {{ ansible_distribution_release }} main
state: present
- name: Update repositories cache and install "libreschool-client" package
apt:
name: libreschool-client
update_cache: yes
2020-03-07 19:51:26 +00:00
- name: Installing common required packages
apt:
name: [ 'debconf', 'debconf-utils' ]
state: latest