mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-30 09:51:10 +01:00 
			
		
		
		
	upt playbook
This commit is contained in:
		| @@ -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'] | ||||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee