aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/photostructure.yml
blob: 12ebe1fe8cc4cd0f5d51860030cd0413ce18e085 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
- import_playbook: common.yml
  vars:
    hostlist: photostructure_servers

- name: configure photostructure
  hosts: photostructure_servers
  tags: photostructure
  roles:
    - role: photostructure

    - role: apache_vhost
      apache_default_vhost: yes
      apache_config: '{{ photostructure_apache_config }}'
      tags: apache

    - role: archive_job
      archive_name: photostructure
      archive_shell: '{{ photostructure_archive_shell }}'
      archive_on_calendar: monthly
      tags: archive