Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

38 wiersze
950B

  1. ---
  2. - name: stop apache2
  3. service:
  4. name: apache2
  5. state: stopped
  6. - name: delete nextcloud directory
  7. file:
  8. path: "{{nextcloud_directory}}"
  9. state: absent
  10. - name: delete nextcloud lib directory
  11. file:
  12. path: "{{nextcloud_lib_directory}}"
  13. state: absent
  14. - name: drop mysql database
  15. mysql_db:
  16. name: "{{nextcloud_database_name}}"
  17. state: absent
  18. delegate_to: "{{ (nextcloud_database_host != 'localhost') | ternary(nextcloud_database_host,inventory_hostname) }}"
  19. when: nextcloud_database_type == "mysql"
  20. - name: drop postgresql database
  21. postgresql_db:
  22. name: "{{nextcloud_database_name}}"
  23. state: absent
  24. delegate_to: "{{ (nextcloud_database_host != 'localhost') | ternary(nextcloud_database_host,inventory_hostname) }}"
  25. when: nextcloud_database_type == "postgresql"
  26. become: yes
  27. become_user: postgres
  28. - name: delete nextcloud log
  29. file:
  30. path: /var/log/nextcloud/nextcloud.log
  31. state: absent