RiseAgainst0

Untitled

Jul 20th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. - name: Install magento
  2. become: yes
  3. become_method: sudo
  4. shell: composer install
  5. args:
  6. chdir: /var/www/html/magento2/magento2
  7.  
  8. #- name: Give permissions to magento 2
  9. # become: yes
  10. # become_method: sudo
  11. # shell: find . -type d -exec chmod 755 {} \; && find . -type f -exec chmod 644 {} \; && chmod u+x bin/magento
  12. # args:
  13. # chdir: /var/www/html/magento2/magento2
  14.  
  15. #- name: Run magento setup
  16. # become: yes
  17. # become_method: sudo
  18. # 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