README.md

Thu, 15 Jun 2017 03:21:42 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 15 Jun 2017 03:21:42 -0400
changeset 65
f54e250beb36
parent 64
48887c0dc48d
child 67
37148a8955f0
permissions
-rw-r--r--

notes

59
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
1 # Devbox playbook
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
2
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
3 This is a playbook that installs dev tools and DE tools I like to have around
60
Meredith <mhoward@roomag.org>
parents: 59
diff changeset
4 and sets up some other preferences like repositories, and drops in my dotfiles.
59
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
5 It's best-tested on Debian, but has some cases for OSX and FreeBSD too.
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
6
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
7 The `gui_enabled` var controls whether or not to install graphical tools.
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
8
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
9 ## TODO
4
ee7f92e88b1a add README.md
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
10
65
Meredith Howard <mhoward@roomag.org>
parents: 64
diff changeset
11 - Adjust to work with ansible-pull via cloud-config userdata like below.
Meredith Howard <mhoward@roomag.org>
parents: 64
diff changeset
12 - looks for hostname.yml or local.yml
Meredith Howard <mhoward@roomag.org>
parents: 64
diff changeset
13 - no need to `become` at start, it will run as root
Meredith Howard <mhoward@roomag.org>
parents: 64
diff changeset
14 - ansible.cfg set to ask for sudo pw
59
f1f2724d73a8 expand readme
Meredith Howard <mhoward@roomag.org>
parents: 4
diff changeset
15
62
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
16 ```yaml
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
17 #cloud-config
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
18 packages:
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
19 - ansible
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
20 - git
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
21 runcmd:
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
22 - echo -e "[localhost]\n127.0.0.1 ansible_connection=local" >> /etc/ansible/hosts
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
23 - ssh-keyscan github.com >> /etc/ssh/ssh_known_hosts
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
24 - mkdir /etc/ansible/web
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
25 - ansible-pull -d /etc/ansible/web/ -U <git repo URL>
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
26 ```
Meredith Howard <mhoward@roomag.org>
parents: 61
diff changeset
27

mercurial