]> git.phdru.name Git - ansible.git/commitdiff
Feat: Module `synchronize` was moved to `ansible.posix` namespace
authorOleg Broytman <phd@phdru.name>
Mon, 25 Oct 2021 12:18:14 +0000 (15:18 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 25 Oct 2021 12:18:14 +0000 (15:18 +0300)
playbooks/debian/sa-merge-all.yml
playbooks/roles/debian/dehydrated/tasks/main.yml
playbooks/update-root.yml

index dbf9b4c1b00b093a40d96053f74e7a4c222d0d47..0fade9805c663b7c623b4b36245124ab09af34f2 100644 (file)
@@ -17,7 +17,7 @@
       - name: Backup SpamAssassin DB
         shell: "sa-learn --sync && exec sa-learn --backup >~/tmp/sa-learn.backup@{{ inventory_hostname }}"
       - name: Fetch SpamAssassin DB backup
-        synchronize:
+        ansible.posix.synchronize:
           src: "~/tmp/sa-learn.backup@{{ inventory_hostname }}"
           dest: "~/tmp/sa-learn.backup@{{ inventory_hostname }}"
           mode: pull
@@ -31,7 +31,7 @@
 
     - block:
       - name: Push combined SpamAssassin DB backup
-        synchronize:
+        ansible.posix.synchronize:
           src: "~/tmp/sa-learn.backup"
           dest: "~/tmp/sa-learn.backup"
       - name: Restore combined SpamAssassin DB
index d6d7ed815ac28cc8cefe2263bf4e0571718cfbef..4cb5cbfd60584ebdd9cbbf50522823ae2d8dfd27 100644 (file)
@@ -41,7 +41,7 @@
     mode: "ug+rwx,o+rx,g+s"
 
 - name: Synchronize dehydrated to the server
-  synchronize:
+  ansible.posix.synchronize:
     src: /usr/local/src/LetsEncrypt/dehydrated
     dest: /usr/local/src/LetsEncrypt
 
index ac828183f7946e0882f4b2473c738d69f55ad65f..4b1b94e665105cfb23fcfa4d9eeba7098359a808 100644 (file)
@@ -4,7 +4,7 @@
   gather_facts: false
   tasks:
     - name: "Update ~root - sync directories from ~phd"
-      synchronize:
+      ansible.posix.synchronize:
         src: "~phd/{{ item }}"
         dest: ~root
         archive: no  # avoid setting owner/group
@@ -55,4 +55,3 @@
         mode: "0600"
         force: no
       loop: ['hotlist', 'ini', 'panels.ini']
-