upt playbook

This commit is contained in:
jaydee 2023-08-29 15:20:13 +02:00
parent bb6894258d
commit 194972549e

View File

@ -1,6 +1,7 @@
- hosts: containers - hosts: containers
name: Stop mailu name: Stop mailu
ignore_unreachable: false ignore_unreachable: false
become: yes
tasks: tasks:
- name: Start mailu rasp - name: Start mailu rasp
uri: uri:
@ -112,7 +113,8 @@
# when: inventory_hostname in groups['raspberry'] # when: inventory_hostname in groups['raspberry']
- name: Extract - name: Extract
become: true become: yes
become_user: root
ansible.builtin.unarchive: ansible.builtin.unarchive:
src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz
dest: / dest: /