|
|
@@ -9,7 +9,7 @@
|
|
|
mode: pull
|
|
|
src: "/var/www/{{ item }}"
|
|
|
dest: "{{ backup_website }}"
|
|
|
- with_items: "sites"
|
|
|
+ with_items: "{{sites}}"
|
|
|
|
|
|
### Sonerezh database and sound ###
|
|
|
- name: backup sonerezh database
|
|
|
@@ -65,7 +65,7 @@
|
|
|
mode: pull
|
|
|
src: "/etc/apache2/sites-available/{{ item }}"
|
|
|
dest: "{{ backup_apache }}"
|
|
|
- with_items: "apache_hosts"
|
|
|
+ with_items: "{{ apache_hosts }}"
|
|
|
|
|
|
### Apache certificates ###
|
|
|
- name: create certificates backup directory
|
|
|
@@ -79,5 +79,5 @@
|
|
|
mode: pull
|
|
|
src: "/etc/letsencrypt/live/{{ item }}"
|
|
|
dest: "{{ backup_certs }}"
|
|
|
- with_items: "certificates"
|
|
|
+ with_items: "{{ certificates }}"
|
|
|
|