Compare commits
3 Commits
920a402be9
...
master
Author | SHA1 | Date | |
---|---|---|---|
d10283210c | |||
![]() |
283454fc69 | ||
![]() |
82a89cbeb1 |
@@ -8,4 +8,4 @@ See `defaults/main.yml` and probably `tasks/main.yml`. Role is pretty simple.
|
||||
Defaults are suitable for MariaDB on Archlinux.
|
||||
|
||||
### LICENSE
|
||||
[MIT](README.md)
|
||||
[MIT](LICENSE)
|
||||
|
@@ -44,8 +44,10 @@
|
||||
with_items: "{{ mysql_databases }}"
|
||||
|
||||
- name: MySQL | Create users
|
||||
# TODO: Add more fileds from https://docs.ansible.com/ansible/latest/collections/community/mysql/mysql_user_module.html
|
||||
mysql_user:
|
||||
name: "{{ item.name }}"
|
||||
host: "{{ item.host }}"
|
||||
state: "{{ item.state | d(omit) }}"
|
||||
password: "{{ item.password | d(omit) }}"
|
||||
priv: "{{ item.priv | d(omit) }}"
|
||||
|
Reference in New Issue
Block a user