您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

6 年前
7 年前
1234567891011121314151617
  1. ---
  2. - name: mysql user
  3. mysql_user:
  4. name: "{{ nextcloud_database_user }}"
  5. host: "{{ (nextcloud_database_host == inventory_hostname) | ternary('localhost',ssh_ip) }}"
  6. password: "{{ nextcloud_database_pass }}"
  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 }}"