aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/freeipa.yml
blob: a83aaf67ee67b04626869afe1c4763d92bbd7a96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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