mirror of
https://github.com/stylersnico/semaphore-updater-debian.git
synced 2026-06-04 16:08:38 +02:00
16 lines
366 B
YAML
16 lines
366 B
YAML
- hosts: localhost
|
|
connection: local
|
|
become: yes
|
|
become_method: sudo
|
|
tasks:
|
|
- name: Truncate logs
|
|
shell: echo "" > /etc/ansible/ansible.log
|
|
|
|
- name: Upgrade Semaphore package
|
|
shell: bash /root/semaphore_latest.sh
|
|
|
|
- name: Restart service Semaphore, in all cases
|
|
ansible.builtin.service:
|
|
name: semaphore
|
|
state: restarted
|