Skip to content

Commit

Permalink
Merge pull request #2767 from MilosEsokia/Symfony-4
Browse files Browse the repository at this point in the history
Symfony 4 installation - Disable frontend installation #2
  • Loading branch information
nmaillat committed Oct 9, 2018
2 parents 6b5788a + 1cd62a6 commit 5bc5a5c
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions resources/ansible/roles/app/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,42 +29,42 @@
# args:
# chdir: /vagrant/

- name: Run application setup
become: yes
become_user: vagrant
shell: 'php bin/setup system:install --email=admin@{{ hostname }}.vb --password=admin --db-host=127.0.0.1 --db-port=3306 --db-user={{ mariadb.user }} --db-password={{ mariadb.password }} --db-template=en-simple --appbox={{ mariadb.appbox_db }} --databox={{ mariadb.databox_db }} --server-name=www.{{ hostname }}.vb --data-path=/vagrant/datas -y'
args:
chdir: /vagrant/

- name: Create extra databox
become: yes
become_user: vagrant
shell: 'php bin/console databox:create {{ mariadb.alt_databox_db }} admin@{{ hostname }}.vb'
args:
chdir: /vagrant/
#- name: Run application setup
# become: yes
# become_user: vagrant
# shell: 'php bin/setup system:install --email=admin@{{ hostname }}.vb --password=admin --db-host=127.0.0.1 --db-port=3306 --db-user={{ mariadb.user }} --db-password={{ mariadb.password }} --db-template=en-simple --appbox={{ mariadb.appbox_db }} --databox={{ mariadb.databox_db }} --server-name=www.{{ hostname }}.vb --data-path=/vagrant/datas -y'
# args:
# chdir: /vagrant/
#
#- name: Create extra databox
# become: yes
# become_user: vagrant
# shell: 'php bin/console databox:create {{ mariadb.alt_databox_db }} admin@{{ hostname }}.vb'
# args:
# chdir: /vagrant/

- name: Enable debugger for host IP addresses
shell: php bin/setup system:config add debugger.allowed-ips "{{ item }}"
with_items: '{{ host_addresses }}'
args:
chdir: /vagrant/

- name: Disable API SSL requirement
shell: php bin/setup system:config set main.api_require_ssl false
args:
chdir: /vagrant/

- name: Enable API routes
shell: php bin/setup system:config set registry.api-clients.api-enable true
args:
chdir: /vagrant/
#- name: Disable API SSL requirement
# shell: php bin/setup system:config set main.api_require_ssl false
# args:
# chdir: /vagrant/
#
#- name: Enable API routes
# shell: php bin/setup system:config set registry.api-clients.api-enable true
# args:
# chdir: /vagrant/

- name: Create ElasticSearch indexes
shell: php bin/console s:i:c
args:
chdir: /vagrant/
#- name: Create ElasticSearch indexes
# shell: php bin/console s:i:c
# args:
# chdir: /vagrant/

- name: Make exiftool executable
file:
path: /vagrant/vendor/phpexiftool/exiftool/exiftool
mode: 0755
#- name: Make exiftool executable
# file:
# path: /vagrant/vendor/phpexiftool/exiftool/exiftool
# mode: 0755

0 comments on commit 5bc5a5c

Please sign in to comment.