-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathplaybook.yml
39 lines (39 loc) · 1.09 KB
/
playbook.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
---
- hosts: all
become: true
vars:
home: /home/ubuntu
document_root: /vagrant
os: ubuntu
user: ubuntu
osversioncode: xenial
gather_facts: no
pre_tasks:
- name: 'install python2'
raw: sudo apt-get -y install python-simplejson
- name: Symlink sh to bash rather than dash
file: src=/bin/bash dest=/bin/sh state=link force=true
- name: Update apt cache and optionally upgrade
apt:
update_cache=yes
cache_valid_time=7200
#upgrade=yes # Uncomment this to force full upgrade!
- name: Install stuff from Aptitude
apt: name={{ item }} state=installed
with_items:
- git
- tig
- vim
- gdb
- cgdb
- bash-completion # Not included in the docker image
- make
- tree
- htop
- tmux
- man-db
roles:
- { role: dotfiles, become: false }
- { role: golang, become: false }
#- { role: youcompleteme, sudo: false } # Comment out this to save time!!
#- { role: mesos, sudo: false }