aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorColin Wilk <colin@wilk.cx>2026-07-02 18:10:04 +0200
committerColin Wilk <colin@wilk.cx>2026-07-02 18:10:04 +0200
commit50b914e77695fd1cdb294653f20143747e7e3b01 (patch)
treeb667145cd04e39abb52d1680fc61a17513ae0af6 /meta
parent66e46df3d2a840bf62ef8084ad171041772db65e (diff)
downloadansible-role-borgbackup-50b914e77695fd1cdb294653f20143747e7e3b01.tar.gz
ansible-role-borgbackup-50b914e77695fd1cdb294653f20143747e7e3b01.zip
Add state: absent variable
Allow removing configuration for repositories.
Diffstat (limited to 'meta')
-rw-r--r--meta/argument_specs.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/argument_specs.yml b/meta/argument_specs.yml
index 518b881..52e85cb 100644
--- a/meta/argument_specs.yml
+++ b/meta/argument_specs.yml
@@ -15,6 +15,22 @@ argument_specs:
required: true
################################################################################
+ # State Configuration
+ ################################################################################
+ state:
+ type: str
+ required: false
+ default: present
+ choices:
+ - present
+ - absent
+
+ borg_dangerously_delete_backups:
+ type: bool
+ required: false
+ default: false
+
+ ################################################################################
# Optional
################################################################################
borg_server_user: