mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 14:23:11 +00:00
13 lines
384 B
YAML
13 lines
384 B
YAML
---
|
|
- name: Get IPA_BACKUP_DIR dir from ipaplatform
|
|
command: "{{ ansible_python_interpreter | default('/usr/bin/python') }}"
|
|
args:
|
|
stdin: |
|
|
from ipaplatform.paths import paths
|
|
print(paths.IPA_BACKUP_DIR)
|
|
register: result_ipaplatform_backup_dir
|
|
|
|
- name: Set IPA backup dir
|
|
set_fact:
|
|
ipabackup_dir: "{{ result_ipaplatform_backup_dir.stdout_lines | first }}"
|