diff --git a/roles/includes/webapps_set_install_mode.yml b/roles/includes/webapps_set_install_mode.yml index d3bfa31..2727622 100644 --- a/roles/includes/webapps_set_install_mode.yml +++ b/roles/includes/webapps_set_install_mode.yml @@ -8,7 +8,7 @@ register: version_file - name: Check installed version - slurp: src={{ root_dir }}/meta/ansible_version + slurp: src={{ root_dir }}/meta/ansible_version register: current_version when: version_file.stat.exists diff --git a/roles/mayan_edms/templates/pre_backup.sh.j2 b/roles/mayan_edms/templates/pre_backup.sh.j2 index c9a332e..c6f0cf8 100644 --- a/roles/mayan_edms/templates/pre_backup.sh.j2 +++ b/roles/mayan_edms/templates/pre_backup.sh.j2 @@ -21,6 +21,6 @@ set -o allexport set +o allexport {% for index in mayan_index_as_fuse %} mkdir -p {{ mayan_root_dir }}/fuse/{{ index }} -{{ mayan_root_dir }}/venv/bin/python {{ mayan_root_dir }}/venv/bin/mayan-edms.py mountindex {{ index }} {{ mayan_root_dir }}/fuse/{{ index }} & +{{ mayan_root_dir }}/venv/bin/python {{ mayan_root_dir }}/venv/bin/mayan-edms.py mountindex --background {{ index }} {{ mayan_root_dir }}/fuse/{{ index }} {% endfor %} diff --git a/roles/rabbitmq_server/handlers/main.yml b/roles/rabbitmq_server/handlers/main.yml index 23678c4..bcee0b5 100644 --- a/roles/rabbitmq_server/handlers/main.yml +++ b/roles/rabbitmq_server/handlers/main.yml @@ -1,4 +1,4 @@ --- - name: restart rabbitmq-server - service: name=rabbitmq-server state=reloaded + service: name=rabbitmq-server state=restarted