mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
upt playbook
This commit is contained in:
parent
9bd6bc7b30
commit
fd1776eb1c
@ -126,9 +126,16 @@
|
||||
# ansible.builtin.shell: 'tar -xzvf /tmp/dockers-{{ ansible_date_time.date }}.tar.gz -C /'
|
||||
# become: true
|
||||
# when: inventory_hostname in groups['raspberry']
|
||||
|
||||
- name: fix permissions
|
||||
file:
|
||||
path: /share/docker_data/mailu2/
|
||||
owner: admin
|
||||
group: administrators
|
||||
recurse: yes
|
||||
become: yes
|
||||
when: inventory_hostname in groups['raspberry']
|
||||
- name: Extract
|
||||
become: true
|
||||
become: yes
|
||||
ansible.builtin.unarchive:
|
||||
src: /tmp/{{ arch_name }}-{{ ansible_date_time.date }}.tar.gz
|
||||
dest: /
|
||||
@ -142,5 +149,5 @@
|
||||
owner: admin
|
||||
group: administrators
|
||||
recurse: yes
|
||||
become: true
|
||||
become: yes
|
||||
when: inventory_hostname in groups['raspberry']
|
Loading…
x
Reference in New Issue
Block a user