1 # devbox-ansible |
1 # Devbox playbook |
2 |
2 |
3 sets up my preferred dev environment, handy for trying out VMs or spinning up droplets |
3 This is a playbook that installs dev tools and DE tools I like to have around |
|
4 and sets up some other preferences like repositories, and drops in my dotfiles. |
|
5 It's best-tested on Debian, but has some cases for OSX and FreeBSD too. |
|
6 |
|
7 The `gui_enabled` var controls whether or not to install graphical tools. |
|
8 |
|
9 ## TODO |
|
10 |
|
11 - Adjust to work with ansible-pull via a cloud-config userdata like this: |
|
12 > #cloud-config |
|
13 > |
|
14 > packages: |
|
15 > |
|
16 > - ansible |
|
17 > - git |
|
18 > |
|
19 > runcmd: |
|
20 > |
|
21 > - echo -e "[localhost]\n127.0.0.1 ansible_connection=local" >> /etc/ansible/hosts |
|
22 > - ssh-keyscan github.com >> /etc/ssh/ssh_known_hosts |
|
23 > - mkdir /etc/ansible/web |
|
24 > - ansible-pull -d /etc/ansible/web/ -U <git repo URL> |
|
25 - The above will require a git mirror |
|
26 |