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 /'
|
# ansible.builtin.shell: 'tar -xzvf /tmp/dockers-{{ ansible_date_time.date }}.tar.gz -C /'
|
||||||
# become: true
|
# become: true
|
||||||
# when: inventory_hostname in groups['raspberry']
|
# 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
|
- name: Extract
|
||||||
become: true
|
become: yes
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
src: /tmp/{{ arch_name }}-{{ ansible_date_time.date }}.tar.gz
|
src: /tmp/{{ arch_name }}-{{ ansible_date_time.date }}.tar.gz
|
||||||
dest: /
|
dest: /
|
||||||
@ -142,5 +149,5 @@
|
|||||||
owner: admin
|
owner: admin
|
||||||
group: administrators
|
group: administrators
|
||||||
recurse: yes
|
recurse: yes
|
||||||
become: true
|
become: yes
|
||||||
when: inventory_hostname in groups['raspberry']
|
when: inventory_hostname in groups['raspberry']
|
Loading…
x
Reference in New Issue
Block a user