Files @ 9f804c9501da
Branch filter:

Location: majic-ansible-roles/roles/database/tasks/main.yml - annotation

branko
MAR-39: Added support for specifying consumers of LDAP structure to the LDAP server role. Added support to the LDAP server role for specifying groups to create. Modified the ldap_entry implementation, replacing the addattributes/replaceattributes with append/replace states. The new states allow for creation of entry if it does not exist, making them more versatille. The existing classes and configurations have been updated accordingly.
1
2
3
4
5
6
7
8
---

- name: "Create database {{ db_name }}"
  mysql_db: name="{{ db_name }}" state=present

- name: "Create database user {{ db_name }}"
  mysql_user: name="{{ db_name }}" password="{{ db_password }}"
              priv=*.*:ALL state=present