elevated privileges for docker error
This commit is contained in:
@@ -1,4 +1,7 @@
|
|||||||
- hosts: VMs
|
# Use with: ansible-playbook -i inventories/inventory.proxmox.yml playbooks/dockerPrune.yaml --limit docker_hosts
|
||||||
|
- name: Prune Docker resources
|
||||||
|
hosts: docker_hosts
|
||||||
|
become: true
|
||||||
gather_facts: no
|
gather_facts: no
|
||||||
tasks:
|
tasks:
|
||||||
- name: Prune all unused containers, images, networks, volumes
|
- name: Prune all unused containers, images, networks, volumes
|
||||||
@@ -8,4 +11,3 @@
|
|||||||
networks: true
|
networks: true
|
||||||
volumes: true
|
volumes: true
|
||||||
builder_cache: true
|
builder_cache: true
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
# Use with: ansible-playbook -i inventories/inventory.proxmox.yml playbooks/dockerUpdate.yml --limit docker_hosts
|
# Use with: ansible-playbook -i inventories/inventory.proxmox.yml playbooks/dockerUpdate.yml --limit docker_hosts
|
||||||
- name: Update Docker containers
|
- name: Update Docker containers
|
||||||
hosts: docker_hosts
|
hosts: docker_hosts
|
||||||
|
become: true
|
||||||
vars:
|
vars:
|
||||||
docker_directories:
|
docker_directories:
|
||||||
Plex:
|
Plex:
|
||||||
|
|||||||
Reference in New Issue
Block a user