-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwsl_setup.yml
47 lines (47 loc) · 1.01 KB
/
wsl_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
45
46
47
- hosts: localhost
become: no
vars:
user: wsl
group: wsl
php_version: 5.4.16
tasks:
- name: Enable add-apt-repository
block:
- name: Install apt-file
apt: name=apt-file state=present
become: yes
- name: Install software-properties-common
apt: name=software-properties-common state=present
become: yes
- name: Install settings
copy: src=wsl.conf dest=/etc/wsl.conf
become: yes
- name: Setup task tools
apt: name=taskwarrior state=present
become: yes
- name: Setup jq
apt: name=jq state=present
become: yes
- name: Setup postgres
apt: name={{ item }} state=present
with_items:
- postgresql
- libpq-dev
- python-psycopg2
become: yes
- name: Setup mcrypt for php
apt: name={{ item }} state=present
become: yes
with_items:
- mcrypt
- php-mcrypt
- php-dev
- libmcrypt-dev
- gcc
- make
- autoconf
- libc-dev
- pkg-config
roles:
- phpenv
- mysql