Open FF186 opened 10 months ago
Works:
roles:
- {role: freeipa.ansible_freeipa.ipabackup, ipabackup_name: "{{ _name }}", state: absent}
- {role: freeipa.ansible_freeipa.ipabackup, state: present}
Does not work:
roles:
- {role: freeipa.ansible_freeipa.ipabackup, state: present}
- {role: freeipa.ansible_freeipa.ipabackup, ipabackup_name: "{{ _name }}", state: absent}
I want to e.g backup only data, but a full backup is being made:
Creates full backup:
- import_role:
name: freeipa.ansible_freeipa.ipabackup
vars:
ipabackup_data: present
state: present
Data backup fails:
Even if the documentation says state: present
is default.
- import_role:
name: freeipa.ansible_freeipa.ipabackup
vars:
ipabackup_data: present
FAILED! => {"changed": false, "msg": "ipabackup_name is given and state is not copied, restored or absent"}
Experience error when I try to run ipabackup role twice.
Playbook:
Error message: