redmine: use .my.cnf for mysql password
This commit is contained in:
parent
77b5f84567
commit
d2c37fe67b
|
@ -194,6 +194,7 @@
|
|||
option: '{{ item.option }}'
|
||||
value: '{{ item.value }}'
|
||||
with_items:
|
||||
- { option: 'host', value: "{{ redmine_db_host }}" }
|
||||
- { option: 'user', value: "{{ redmine_db_username }}" }
|
||||
- { option: 'database', value: "{{ redmine_db_name }}" }
|
||||
- { option: 'password', value: '{{ redmine_db_pass }}' }
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
production:
|
||||
adapter: mysql2
|
||||
database: {{ redmine_db_name }}
|
||||
host: {{ redmine_db_host }}
|
||||
username: {{ redmine_db_username }}
|
||||
password: "{{ redmine_db_pass }}"
|
||||
encoding: utf8
|
||||
username: {{ redmine_db_username }}
|
||||
default_file: /home/{{ redmine_db_username }}/.my.cnf
|
||||
default_group: client
|
||||
|
|
Loading…
Reference in New Issue