- name: restore latest IPA backup for testing
  hosts: ipa_stg
  vars_files:
    - /srv/web/infra/ansible/vars/global.yml
    - "/srv/private/ansible/vars.yml"
    # - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
  tasks:
    - name: restore latest backup of FreeIPA server data
      command: ipa-restore /var/lib/ipa/backup/ipa-full-latest -p {{ ipa_admin_password }}
