2015-07-14 14:08:41 +02:00
|
|
|
---
|
|
|
|
- name: Create the isql script to change the dba default password
|
2018-12-14 16:46:09 +01:00
|
|
|
copy: content="set password dba {{ virtuoso_dba_pwd }};\n" dest={{ virtuoso_db_dir }}/.isql_change_dba.sql owner={{ virtuoso_user }} group={{ virtuoso_user }} mode=0400
|
2015-07-14 14:08:41 +02:00
|
|
|
when: virtuoso_dba_pwd is defined
|
|
|
|
tags: [ 'virtuoso', 'virtuoso_conf' ]
|
|
|
|
|
|
|
|
- name: Change the default dba password
|
2018-12-14 16:46:09 +01:00
|
|
|
shell: '{{ virtuoso_isql }} localhost:{{ virtuoso_server_port }} dba dba {{ virtuoso_db_dir }}/.isql_change_dba.sql -i arg1 && touch {{ virtuoso_db_dir }}/.dba_changed_password'
|
2015-07-14 14:08:41 +02:00
|
|
|
args:
|
|
|
|
creates:
|
|
|
|
'{{ virtuoso_db_dir }}/.dba_changed_password'
|
|
|
|
when: virtuoso_dba_pwd is defined
|
|
|
|
tags: [ 'virtuoso', 'virtuoso_conf' ]
|