forked from vifreefly/kimuraframework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.yml
44 lines (38 loc) · 1.14 KB
/
setup.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
- hosts: all
vars:
ruby: 2.5.3
rbenv_root_path: /home/{{ ansible_user_id }}/.rbenv
rbenv_shims_path: "{{ rbenv_root_path }}/shims"
ruby_versions_path: "{{ rbenv_root_path }}/versions"
# check latest here http://phantomjs.org/download.html
phantomjs: 2.1.1
# check latest here https://github.com/mozilla/geckodriver/releases/
geckodriver: 0.23.0
# check latest here https://sites.google.com/a/chromium.org/chromedriver/downloads
chromedriver: 2.44
tasks:
- name: Update apt cache
become: true
apt: update_cache=yes cache_valid_time=86400
- name: Install base packages
become: true
apt:
pkg: "{{ item }}"
state: present
with_items:
- xvfb
- libsqlite3-dev
- sqlite3
- mongodb-clients
- mysql-client
- libmysqlclient-dev
- postgresql-client
- libpq-dev
- import_tasks: setup/ruby_environment.yml
- import_tasks: setup/phantomjs.yml
become: true
- import_tasks: setup/firefox_geckodriver.yml
become: true
- import_tasks: setup/chromium_chromedriver.yml
become: true