25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
446B

  1. ---
  2. - name: mysql user
  3. mysql_user:
  4. name: "{{ nextcloud_database_user }}"
  5. host: "{{ ssh_ip }}"
  6. password: "{{ nextcloud_database_password }}"
  7. priv: "{{nextcloud_database_name}}.*:ALL"
  8. delegate_to: "{{ nextcloud_database_host }}"
  9. - name: mysql database
  10. mysql_db:
  11. name: "{{nextcloud_database_name}}"
  12. encoding: utf8mb4
  13. collation: utf8mb4_unicode_ci
  14. state: present
  15. delegate_to: "{{ nextcloud_database_host }}"