Преглед на файлове

skip unarchive - with a 22GiB tar it takes forever with diff mode - just use command

Grega Bremec преди 1 месец
родител
ревизия
fe7995428f
променени са 1 файла, в които са добавени 2 реда и са изтрити 4 реда
  1. 2 4
      playbooks/45-oc-mirror.yml

+ 2 - 4
playbooks/45-oc-mirror.yml

@@ -131,10 +131,8 @@
         - name: Extract the latest Quay data directory backup (takes around half an hour).
           remote_user: lab
           become: yes
-          ansible.builtin.unarchive:
-            src: /local/backups/quay-data.tar.bz2
-            dest: /local
-            remote_src: yes
+          ansible.builtin.command:
+            cmd: tar xpf /local/backups/quay-data.tar.bz2 -C /local
 
         - name: Ensure quay service is started after this.
           ansible.builtin.systemd_service: