Changeset - 71cc7b092600
[Not reviewed]
0 1 0
Branko Majic (branko) - 17 days ago 2024-09-02 23:54:24
branko@majic.rs
MAR-218: Drop deprecated argument for command invocation:

- This might require fixing down the line in some other way (to avoid
warnings being spit out).
1 file changed with 0 insertions and 2 deletions:
0 comments (0 inline, 0 general)
roles/backup_client/handlers/main.yml
Show inline comments
 
---
 

	
 
# @TODO: Can't use file module, since one of the files (GnuPG socket)
 
#        seems to disappear in middle of operation).
 
- name: Remove current keyring  # noqa 301
 
  # [301] Commands should not change things if nothing needs doing
 
  #   This task is invoked only if user is very specific about requiring to
 
  #   run the handlers manually as a way to bring the system to consistency
 
  #   after interrupted runs.
 
  command: "rm -rf /etc/duply/main/gnupg"
 
  args:
 
    warn: false
 

	
 
- name: Create keyring directory
 
  file:
 
    path: "/etc/duply/main/gnupg"
 
    state: directory
 
    owner: root
 
    group: root
 
    mode: 0700
 

	
 
- name: Import private keys  # noqa 301
 
  # [301] Commands should not change things if nothing needs doing
 
  #   This task is invoked only if user is very specific about requiring to
0 comments (0 inline, 0 general)