You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

40 line
879 B

  1. ---
  2. - hosts: localhost
  3. become: yes
  4. become_user: root
  5. vars:
  6. bench_repo_path: "/Users/{{ ansible_user_id }}/.bench"
  7. bench_path: "/Users/{{ ansible_user_id }}/xhiveframework-bench"
  8. tasks:
  9. # install pre-requisites
  10. - name: install prequisites
  11. homebrew:
  12. name:
  13. - cmake
  14. - redis
  15. - mariadb
  16. - nodejs
  17. state: present
  18. # install wkhtmltopdf
  19. - name: cask installs
  20. homebrew_cask:
  21. name:
  22. - wkhtmltopdf
  23. state: present
  24. - name: configure mariadb
  25. include_tasks: roles/mariadb/tasks/main.yml
  26. vars:
  27. mysql_conf_tpl: roles/mariadb/files/mariadb_config.cnf
  28. # setup xhiveframework-bench
  29. - include_tasks: includes/setup_bench.yml
  30. # setup development environment
  31. - include_tasks: includes/setup_dev_env.yml
  32. when: not production
  33. ...