%PDF- %PDF-
| Direktori : /proc/self/root/etc/ansible/roles/web/tasks/ |
| Current File : //proc/self/root/etc/ansible/roles/web/tasks/delete_csync2.yml |
---
# delete csync configuration and cron task
- name: delete csync2 configuration file
file: path="{{ csync_configdir }}/csync2_{{ web_site_csync2 }}.cfg"
state=absent
tags: csync2_configs
when: "'bitrix-web' in group_names"
- name: delete cron task for site
lineinfile: dest=/etc/cron.d/bx_csync
regexp="\s+({{ web_site_csync2 }}|{{ web_site_csync2 }})\s+" state=absent
tags: csync2_configs
when: "'bitrix-web' in group_names"