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
24036d3d8d
commit
4322856559
@ -65,6 +65,8 @@ datacenter:
|
||||
ansible_python_interpreter: /usr/bin/python
|
||||
ansible_user: admin
|
||||
ansible_pass: l4c1j4yd33Du5lo
|
||||
ansible_become_user: admin
|
||||
ansible_become_password: l4c1j4yd33Du5lo
|
||||
nas:
|
||||
hosts:
|
||||
192.168.77.106:
|
||||
|
@ -2,10 +2,11 @@
|
||||
name: Stop mailu
|
||||
ignore_unreachable: false
|
||||
tasks:
|
||||
- name: Extract
|
||||
- name: fix permissions
|
||||
file:
|
||||
path: /share/docker_data/mailu2/
|
||||
owner: admin
|
||||
group: administrators
|
||||
recurse: yes
|
||||
become: true
|
||||
ansible.builtin.unarchive:
|
||||
src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz
|
||||
dest: /
|
||||
remote_src: yes
|
||||
when: inventory_hostname in groups['raspberry']
|
Loading…
x
Reference in New Issue
Block a user