Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: Install magento
- become: yes
- become_method: sudo
- shell: composer install
- args:
- chdir: /var/www/html/magento2/magento2
- #- name: Give permissions to magento 2
- # become: yes
- # become_method: sudo
- # shell: find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
- # args:
- # chdir: /var/www/html/magento2/magento2
- #- name: Run magento setup
- # become: yes
- # become_method: sudo
- # shell: php bin/magento setup:install --db-password={{ magento.db_password }} --db-name={{ magento.db_name }} --db-user={{ magento.db_user }} --admin-user={{ magento.admin_user }} --admin-password={{ magento.admin_password }} --"admin-firstname"={{ magento.admin_firstname }} --admin-lastname={{ magento.admin_lastname }} --admin-email={{ magento.admin_email }}
Add Comment
Please, Sign In to add comment