forked from sridatta/macboot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganized some things, added relevant REAME files to some of the th…
…e tools, and fleshed out future plans.
- Loading branch information
Michael Griffin
committed
Apr 15, 2013
1 parent
8c5f1ec
commit 4adb679
Showing
36 changed files
with
78 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Ansible Playbooks | ||
================= | ||
|
||
**The following only applies to some of these playbooks. The majority have been created to provision Mac development machines. Eventually they will be transformed to handle different operating systems and other variables, such as versions.** | ||
**The majority of these playbooks have been created to provision Mac development machines. I am going to separate these playbooks into their own separate git repos, or not, depending on how I decide I want them accessable to the configuration managament tool I'll be buiiling on top of Ansible. Eventually they will be transformed to handle different operating systems and other variables, such as versions.** | ||
|
||
Configure servers in a snap with these concise Ansible playbooks! | ||
|
||
|
@@ -21,10 +21,10 @@ Future Playbooks: | |
* **PHP** - open source highlevel interprited programming language | ||
* **RVM** - open source Ruby version and environment manager | ||
|
||
Before running these Ansible playbooks, or any Ansible commands for that matter, it is essential that you have your publick SSH keys copied to your server's `~/.ssh/authorized_keys` file. The following command will copy your public key from your management computer, to the server: | ||
Before running these Ansible playbooks, or any Ansible commands for that matter, it is essential that you have your publick SSH keys copied to your server's `~/.ssh/authorized_keys` file. If you decide that this will make life too easy for you, feel free to use the `-k` flag when running `ansible-playbook` (or `ansible` for that matter too), which will tell Ansible to prompt you for your SSH password. The following command will copy your public key from your management computer, to the server: | ||
|
||
# Don't space out and forget to ensure that you replace the username and ip/host address with your specific credentials. | ||
$ scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys | ||
$ scp ~/.ssh/id_rsa.pub [email protected]:~/.ssh/authorized_keys # You could also perform the same action against your Ansible hosts using the copy module and the **-k** flag to promp you for your SSH password. | ||
|
||
Then all you have to do, as long as you have properly installed Ansible, and have added it's location to your $PATH, is run the following command to confirm that everything is hunky-dory: | ||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--- | ||
- name: Installing $app_name_pretty | ||
homebrew: name=$app_name state=installed update_homebrew=yes |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
iTerm | ||
===== | ||
|
||
This Ansible playbook installs iTerm (2), a powerfull and highly customizable, feature-rich, command line interface replacement for Terminal. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
--- | ||
- include: ../local-setup.yaml | ||
- include: ../setup.yaml | ||
|
||
- hosts: $hosts | ||
user: $user | ||
gather_facts: false | ||
vars: | ||
install_type: app | ||
app_name: iTerm | ||
app_name_pretty: iTerm | ||
app_url: https://copy.com/HTIIPAwoiKVY | ||
vars_files: | ||
- ../local-setup-vars.yaml | ||
- ../setup-vars.yaml | ||
tasks: | ||
- include: ../file/zip.yaml | ||
- include: ../install-type/zip.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LimeChat | ||
======== | ||
|
||
This Ansible playbook installs LimeChat, a lightweight and feature rich IRC client for Mac. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SourceTree | ||
========== | ||
|
||
This Ansible playbook installs SourceTree, a rock solid Git client for Mac and Windows. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Sublime Text | ||
============ | ||
|
||
This Ansible playbook installs Sublime Text, a powerfull, performant, extensable, and versitile code editor. It also sets up `subl` and `sublime` symlinks in your `/usr/bin/` directory for the highly useful Sublime Text `subl` command. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Transmission | ||
============ | ||
|
||
This Ansible playbook installs Transmission, a lightwieght bittorrent client for Mac and Linux. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
--- | ||
- include: ../local-setup.yaml | ||
- include: ../setup.yaml | ||
|
||
- hosts: $hosts | ||
user: $user | ||
gather_facts: false | ||
vars: | ||
install_type: app | ||
app_name: Transmission | ||
app_name_pretty: Transmission | ||
app_url: https://copy.com/jTqaA0JWmTmn/Transmission-2.77.dmg?download=1 | ||
mount_path: /Volumes/Transmission/ | ||
vars_files: | ||
- ../local-setup-vars.yaml | ||
- ../setup-vars.yaml | ||
tasks: | ||
- include: ../file/dmg.yaml | ||
- include: ../install-type/dmg.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- include: ../setup.yaml | ||
|
||
- hosts: $hosts | ||
user: $user | ||
vars: | ||
app_name: tree | ||
app_name_pretty: tree | ||
vars_files: | ||
- ../setup-vars.yaml | ||
tasks: | ||
- include: ../install-type/homebrew.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Vagrant | ||
======= | ||
|
||
This Ansible playbook installs Vagrant, an powerful tool which automates virtualization and provisionment. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VirtualBox | ||
========== | ||
|
||
This Ansible playbook installs VirtualBox, a home and enterprise virtualization software package. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
VLC | ||
=== | ||
|
||
This Ansible playbook installs VLC, a lightweigt and versitile media player for Mac, Linux, and Windows, and will eventually have the ability to make it the default file handler for specified file types. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
--- | ||
- include: ../local-setup.yaml | ||
- include: ../setup.yaml | ||
|
||
- hosts: $hosts | ||
user: $user | ||
gather_facts: false | ||
vars: | ||
install_type: app | ||
app_name: VLC | ||
app_name_pretty: VLC | ||
app_url: https://copy.com/8WKZ3x1ZWOIC/VLC-2.0.6.dmg?download=1 | ||
mount_path: /Volumes/vlc-2.0.6/ | ||
vars_files: | ||
- ../local-setup-vars.yaml | ||
- ../setup-vars.yaml | ||
tasks: | ||
- include: ../file/dmg.yaml | ||
- include: ../install-type/dmg.yaml |