mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Update provisioning to configure extra databox
This commit is contained in:
@@ -36,6 +36,13 @@
|
|||||||
args:
|
args:
|
||||||
chdir: /vagrant/
|
chdir: /vagrant/
|
||||||
|
|
||||||
|
- name: Create extra databox
|
||||||
|
become: yes
|
||||||
|
become_user: vagrant
|
||||||
|
shell: 'bin/console databox:create db_alt admin@{{ hostname }}.vb'
|
||||||
|
args:
|
||||||
|
chdir: /vagrant/
|
||||||
|
|
||||||
- name: Enable debugger for host IP addresses
|
- name: Enable debugger for host IP addresses
|
||||||
shell: bin/setup system:config add debugger.allowed-ips "{{ item}}"
|
shell: bin/setup system:config add debugger.allowed-ips "{{ item}}"
|
||||||
with_items: '{{ host_addresses }}'
|
with_items: '{{ host_addresses }}'
|
||||||
|
|||||||
@@ -43,6 +43,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- "{{ mariadb.database }}"
|
- "{{ mariadb.database }}"
|
||||||
- "{{ mariadb.databox_db }}"
|
- "{{ mariadb.databox_db }}"
|
||||||
|
- "{{ mariadb.alt_db }}"
|
||||||
|
|
||||||
- name: mariadb | Import dump
|
- name: mariadb | Import dump
|
||||||
mysql_db: name={{ mariadb.database }} state=import login_user=root login_password={{ mariadb.root_password }} target=/vagrant/{{ mariadb.dump }}
|
mysql_db: name={{ mariadb.database }} state=import login_user=root login_password={{ mariadb.root_password }} target=/vagrant/{{ mariadb.dump }}
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ mariadb:
|
|||||||
root_password: toor
|
root_password: toor
|
||||||
database: ab_master
|
database: ab_master
|
||||||
databox_db: db_master
|
databox_db: db_master
|
||||||
|
alt_db: db_alt
|
||||||
user: phraseanet
|
user: phraseanet
|
||||||
password: phraseanet
|
password: phraseanet
|
||||||
dump: ''
|
dump: ''
|
||||||
|
|||||||
Reference in New Issue
Block a user