README.md

changeset 70
04beed510fa3
parent 68
539425ad28ce
child 71
509db8d79ab5
equal deleted inserted replaced
69:292cb125556d 70:04beed510fa3
1
2
1 # Devbox playbook 3 # Devbox playbook
2 4
3 This is a playbook that installs dev tools and DE tools I like to have around 5 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. 6 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. 7 It's best-tested on Debian, but has some cases for OSX and FreeBSD too.
16 4. `ansible-playbook -i $inventory $args local.yml` 18 4. `ansible-playbook -i $inventory $args local.yml`
17 19
18 ## Pull 20 ## Pull
19 21
20 1. Install `ansible`, `git` 22 1. Install `ansible`, `git`
21 2. `echo -e '[localhost]\n127.0.0.1 ansible_connection=local' >> /etc/ansible/hosts` 23 2. `echo -e '[localhost]\nlocalhost ansible_connection=local' >> /etc/ansible/hosts`
22 2. `ansible-pull -U https://github.com/merrilymeredith/devbox-ansible.git` 24 2. `ansible-pull -U https://github.com/merrilymeredith/devbox-ansible.git`
23 25
24 ### cloud-init 26 ### cloud-init
25 27
26 ```yaml 28 ```yaml
27 #cloud-config 29 #cloud-config
28 packages: 30 packages:
29 - ansible 31 - ansible
30 - git 32 - git
31 runcmd: 33 runcmd:
32 - echo -e '[localhost]\n127.0.0.1 ansible_connection=local' >> /etc/ansible/hosts 34 - echo -e '[localhost]\nlocalhost ansible_connection=local' >> /etc/ansible/hosts
33 - ansible-pull -U https://github.com/merrilymeredith/devbox-ansible.git 35 - ansible-pull -U https://github.com/merrilymeredith/devbox-ansible.git
34 ``` 36 ```
35 37
38 # TODO
39
40 - Make pull config install cron entry?

mercurial