mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-24 04:49: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_python_interpreter: /usr/bin/python
|
||||||
ansible_user: admin
|
ansible_user: admin
|
||||||
ansible_pass: l4c1j4yd33Du5lo
|
ansible_pass: l4c1j4yd33Du5lo
|
||||||
|
ansible_become_user: admin
|
||||||
|
ansible_become_password: l4c1j4yd33Du5lo
|
||||||
nas:
|
nas:
|
||||||
hosts:
|
hosts:
|
||||||
192.168.77.106:
|
192.168.77.106:
|
||||||
|
@ -2,10 +2,11 @@
|
|||||||
name: Stop mailu
|
name: Stop mailu
|
||||||
ignore_unreachable: false
|
ignore_unreachable: false
|
||||||
tasks:
|
tasks:
|
||||||
- name: Extract
|
- name: fix permissions
|
||||||
|
file:
|
||||||
|
path: /share/docker_data/mailu2/
|
||||||
|
owner: admin
|
||||||
|
group: administrators
|
||||||
|
recurse: yes
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.unarchive:
|
|
||||||
src: /tmp/dockers-{{ ansible_date_time.date }}.tar.gz
|
|
||||||
dest: /
|
|
||||||
remote_src: yes
|
|
||||||
when: inventory_hostname in groups['raspberry']
|
when: inventory_hostname in groups['raspberry']
|
Loading…
x
Reference in New Issue
Block a user