You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

23 lines
576 B

---
- debug:
var: ansible_run_tags
- name: install gallery
import_tasks: install.yml
vars:
git_repo: "https://gitlab.com/cinnaboot/gallery.git"
docroot: /var/www/localhost/htdocs
folder: '{{ docroot }}/gallery'
flask_entry: gallery
web_user: lighttpd
web_group: lighttpd
proxy_port: 3031
- name: backup gallery
when: "'backup' in ansible_run_tags"
import_tasks: backup.yml
tags: backup
vars:
output_dir: /tmp/
archive: "{{ output_dir }}gallery_backup.tgz"
album_path: /var/www/localhost/htdocs/gallery/instance/images