소스 검색

commented out dangerous playbook option for cleanup

Matt Woodson 9 년 전
부모
커밋
d02e346a12
1개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 4 3
      playbooks/adhoc/docker_storage_cleanup/docker_storage_cleanup.yml

+ 4 - 3
playbooks/adhoc/docker_storage_cleanup/docker_storage_cleanup.yml

@@ -51,9 +51,10 @@
     shell: "docker images -q -f dangling=true | xargs --no-run-if-empty docker rmi"
     ignore_errors: yes
 
-  - name: Remove non-running docker images
-    shell: "docker images -aq | xargs --no-run-if-empty docker rmi 2>/dev/null"
-    ignore_errors: yes
+#  mwoodson & twiest: this is dangerous, commenting out for now.
+#  - name: Remove non-running docker images
+#    shell: "docker images -aq | xargs --no-run-if-empty docker rmi 2>/dev/null"
+#    ignore_errors: yes
 
   # leaving off the '-t' for docker exec.  With it, it doesn't work with ansible and tty support
   - name: update zabbix docker items