|
123456789101112131415161718192021222324252627282930313233343536373839 |
- ---
-
- - hosts: localhost
- become: yes
- become_user: root
- vars:
- bench_repo_path: "/Users/{{ ansible_user_id }}/.bench"
- bench_path: "/Users/{{ ansible_user_id }}/xhiveframework-bench"
- tasks:
- # install pre-requisites
- - name: install prequisites
- homebrew:
- name:
- - cmake
- - redis
- - mariadb
- - nodejs
- state: present
-
- # install wkhtmltopdf
- - name: cask installs
- homebrew_cask:
- name:
- - wkhtmltopdf
- state: present
-
- - name: configure mariadb
- include_tasks: roles/mariadb/tasks/main.yml
- vars:
- mysql_conf_tpl: roles/mariadb/files/mariadb_config.cnf
-
- # setup xhiveframework-bench
- - include_tasks: includes/setup_bench.yml
-
- # setup development environment
- - include_tasks: includes/setup_dev_env.yml
- when: not production
-
- ...
|