aboutsummaryrefslogtreecommitdiffstats
path: root/playbooks/photostructure.yml
diff options
context:
space:
mode:
Diffstat (limited to 'playbooks/photostructure.yml')
-rw-r--r--playbooks/photostructure.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/playbooks/photostructure.yml b/playbooks/photostructure.yml
new file mode 100644
index 0000000..12ebe1f
--- /dev/null
+++ b/playbooks/photostructure.yml
@@ -0,0 +1,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