All checks were successful
continuous-integration/drone/push Build is passing
19 lines
517 B
YAML
19 lines
517 B
YAML
---
|
|
|
|
- name: Check if libreschool-client is installed
|
|
shell: dpkg-query -W -f='${Status}' libreschool-client | grep 'install ok installed'
|
|
register: lsclient_installed
|
|
failed_when: no
|
|
changed_when: no
|
|
|
|
- name: Updating libreschool-client
|
|
ini_file:
|
|
path: /etc/libreschool-client/libreschool-client.conf
|
|
option: last_config
|
|
section: server
|
|
no_extra_spaces: yes
|
|
value: "{{ configuration_timestamp }}"
|
|
changed_when: no
|
|
notify: rerun-libreschool-client
|
|
when: lsclient_installed.rc == 0
|