diff options
Diffstat (limited to 'playbooks/freeipa.yml')
-rw-r--r-- | playbooks/freeipa.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/playbooks/freeipa.yml b/playbooks/freeipa.yml new file mode 100644 index 0000000..a83aaf6 --- /dev/null +++ b/playbooks/freeipa.yml @@ -0,0 +1,24 @@ +- import_playbook: common.yml + vars: + hostlist: freeipa_servers + +- name: configure freeipa master + hosts: freeipa_master + tags: freeipa + roles: + - role: freeipa_server + + - role: archive_job + archive_name: ipa + archive_on_calendar: 'Sat *-*-* 02:00:00' + archive_shell: >- + ipa-backup && + mv -v /var/lib/ipa/backup/* . && + find . -mindepth 1 -type d -exec chmod -v 770 {} + + tags: archive + +- name: configure freeipa replicas + hosts: freeipa_servers:!freeipa_master + tags: freeipa + roles: + - freeipa_server |