mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 14:23:11 +00:00
Up to now a python snippet was used to get IPA_BACKUP_DIR from ipaplatform but this was not working when ansible_facts was false due to not getting ansible_python_interpreter set. The module version is also working if gather_facts is turned off.
9 lines
230 B
YAML
9 lines
230 B
YAML
---
|
|
- name: Get IPA_BACKUP_DIR from ipaplatform
|
|
ipabackup_get_backup_dir:
|
|
register: result_ipabackup_get_backup_dir
|
|
|
|
- name: Set IPA backup dir
|
|
set_fact:
|
|
ipabackup_dir: "{{ result_ipabackup_get_backup_dir.backup_dir }}"
|