mirror of
				https://gitlab.sectorq.eu/jaydee/ansible.git
				synced 2025-10-31 02:11:10 +01:00 
			
		
		
		
	bitwarden
This commit is contained in:
		| @@ -3,9 +3,9 @@ | ||||
|   ignore_unreachable: false | ||||
|   tasks: | ||||
|   - name: Stop running containers | ||||
|     ansible.builtin.shell: for i in `docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' ; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker stop $i;done | ||||
|     ansible.builtin.shell: for i in `docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' `; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker stop $i;done | ||||
|   - name: Restore folder | ||||
|     ansible.builtin.shell: 'rsync -arv root@192.168.77.189:/srv/dev-disk-by-uuid-02fbe97a-cd9a-4511-8bd5-21f8516353ee/docker_data/latest/{{ app }} /share/docker_data/' | ||||
|     when: inventory_hostname in groups['nas'] | ||||
|   - name: Start running containers | ||||
|     ansible.builtin.shell: for i in `docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' ; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker start $i;done | ||||
|     ansible.builtin.shell: for i in `docker ps -a|egrep -e '{{ app }}.*'|awk '{print $NF}' `; do /share/ZFS530_DATA/.qpkg/container-station/bin/docker start $i;done | ||||
		Reference in New Issue
	
	Block a user
	 jaydee
					jaydee