Removed a bunch of things that I won't be using.
This commit is contained in:
parent
6fb4644f80
commit
a8d7f2d0ed
8
PLANS.md
8
PLANS.md
@ -1,8 +0,0 @@
|
|||||||
Plans
|
|
||||||
=====
|
|
||||||
|
|
||||||
* Look into using Jinja2 to adhere with DRY principles. If an app comes in a tar archive, have a workflow for extracting apps from those archives, same thing if it comes in a dmg, or a zip.
|
|
||||||
* Look into the ability to change directories for multiple commands as upposed to having to change directories on each command.
|
|
||||||
* Ensure generalization of playbooks and assist distribution by replacing hosts and usernames with code that will allow them to be set on run time.
|
|
||||||
* Consider streamlining playbook creation by specifying the install-type (app, homebrew, pkg, apt, yum) and letting conditional execution pick the correct playbook to run based on that variable. This would allow tools that can be manually installed, or installed through a package management service like homebrew or apt, to have the ability to be installed different ways.
|
|
||||||
* Ensure that the tool created on top of Ansible has the abiltiy to check the version of installed mac applications, and not reinstall them if they match, unless a user forces an reinstall. Also provide the abiltiy to manipulate default file type handlers.
|
|
||||||
@ -6,6 +6,14 @@ This is very much a work in progress, and is mostly a means for me to document m
|
|||||||
|
|
||||||
**Caveat**: This set of playbooks is not meant to be a great example of Ansible best practices. I just want to wrap my Mac's configuration in Ansible so I can quickly bring up a new development Mac without having to restore from a Time Machine backup.
|
**Caveat**: This set of playbooks is not meant to be a great example of Ansible best practices. I just want to wrap my Mac's configuration in Ansible so I can quickly bring up a new development Mac without having to restore from a Time Machine backup.
|
||||||
|
|
||||||
|
## TODO
|
||||||
|
|
||||||
|
I'm going to add the following once I get some time:
|
||||||
|
|
||||||
|
- Cornerstone SVN
|
||||||
|
- Tower (Git)
|
||||||
|
- etc...
|
||||||
|
|
||||||
## Ansible for DevOps
|
## Ansible for DevOps
|
||||||
|
|
||||||
If Ansible piques your interest, please check out the book I'm working on, [Ansible for DevOps](https://leanpub.com/ansible-for-devops), where I actually *do* follow Ansible best practices, and will teach you how to do some other amazing things with Ansible.
|
If Ansible piques your interest, please check out the book I'm working on, [Ansible for DevOps](https://leanpub.com/ansible-for-devops), where I actually *do* follow Ansible best practices, and will teach you how to do some other amazing things with Ansible.
|
||||||
|
|||||||
111
Vagrantfile
vendored
111
Vagrantfile
vendored
@ -1,111 +0,0 @@
|
|||||||
# -*- mode: ruby -*-
|
|
||||||
# vi: set ft=ruby :
|
|
||||||
|
|
||||||
Vagrant.configure("2") do |config|
|
|
||||||
# All Vagrant configuration is done here. The most common configuration
|
|
||||||
# options are documented and commented below. For a complete reference,
|
|
||||||
# please see the online documentation at vagrantup.com.
|
|
||||||
|
|
||||||
# Every Vagrant virtual environment requires a box to build off of.
|
|
||||||
config.vm.box = "precise64"
|
|
||||||
|
|
||||||
# The url from where the 'config.vm.box' box will be fetched if it
|
|
||||||
# doesn't already exist on the user's system.
|
|
||||||
# config.vm.box_url = "http://domain.com/path/to/above.box"
|
|
||||||
|
|
||||||
# Create a forwarded port mapping which allows access to a specific port
|
|
||||||
# within the machine from a port on the host machine. In the example below,
|
|
||||||
# accessing "localhost:8080" will access port 80 on the guest machine.
|
|
||||||
# config.vm.network :forwarded_port, guest: 80, host: 8080
|
|
||||||
|
|
||||||
# Create a private network, which allows host-only access to the machine
|
|
||||||
# using a specific IP.
|
|
||||||
config.vm.network :private_network, ip: "192.168.33.10"
|
|
||||||
|
|
||||||
# Create a public network, which generally matched to bridged network.
|
|
||||||
# Bridged networks make the machine appear as another physical device on
|
|
||||||
# your network.
|
|
||||||
# config.vm.network :public_network
|
|
||||||
|
|
||||||
# Share an additional folder to the guest VM. The first argument is
|
|
||||||
# the path on the host to the actual folder. The second argument is
|
|
||||||
# the path on the guest to mount the folder. And the optional third
|
|
||||||
# argument is a set of non-required options.
|
|
||||||
# config.vm.synced_folder "../data", "/vagrant_data"
|
|
||||||
|
|
||||||
# Provider-specific configuration so you can fine-tune various
|
|
||||||
# backing providers for Vagrant. These expose provider-specific options.
|
|
||||||
# Example for VirtualBox:
|
|
||||||
#
|
|
||||||
# config.vm.provider :virtualbox do |vb|
|
|
||||||
# # Don't boot with headless mode
|
|
||||||
# vb.gui = true
|
|
||||||
#
|
|
||||||
# # Use VBoxManage to customize the VM. For example to change memory:
|
|
||||||
# vb.customize ["modifyvm", :id, "--memory", "1024"]
|
|
||||||
# end
|
|
||||||
#
|
|
||||||
# View the documentation for the provider you're using for more
|
|
||||||
# information on available options.
|
|
||||||
|
|
||||||
# Enable provisioning with Puppet stand alone. Puppet manifests
|
|
||||||
# are contained in a directory path relative to this Vagrantfile.
|
|
||||||
# You will need to create the manifests directory and a manifest in
|
|
||||||
# the file base.pp in the manifests_path directory.
|
|
||||||
#
|
|
||||||
# An example Puppet manifest to provision the message of the day:
|
|
||||||
#
|
|
||||||
# # group { "puppet":
|
|
||||||
# # ensure => "present",
|
|
||||||
# # }
|
|
||||||
# #
|
|
||||||
# # File { owner => 0, group => 0, mode => 0644 }
|
|
||||||
# #
|
|
||||||
# # file { '/etc/motd':
|
|
||||||
# # content => "Welcome to your Vagrant-built virtual machine!
|
|
||||||
# # Managed by Puppet.\n"
|
|
||||||
# # }
|
|
||||||
#
|
|
||||||
# config.vm.provision :puppet do |puppet|
|
|
||||||
# puppet.manifests_path = "manifests"
|
|
||||||
# puppet.manifest_file = "base.pp"
|
|
||||||
# end
|
|
||||||
|
|
||||||
# Enable provisioning with chef solo, specifying a cookbooks path, roles
|
|
||||||
# path, and data_bags path (all relative to this Vagrantfile), and adding
|
|
||||||
# some recipes and/or roles.
|
|
||||||
#
|
|
||||||
# config.vm.provision :chef_solo do |chef|
|
|
||||||
# chef.cookbooks_path = "../my-recipes/cookbooks"
|
|
||||||
# chef.roles_path = "../my-recipes/roles"
|
|
||||||
# chef.data_bags_path = "../my-recipes/data_bags"
|
|
||||||
# chef.add_recipe "mysql"
|
|
||||||
# chef.add_role "web"
|
|
||||||
#
|
|
||||||
# # You may also specify custom JSON attributes:
|
|
||||||
# chef.json = { :mysql_password => "foo" }
|
|
||||||
# end
|
|
||||||
|
|
||||||
# Enable provisioning with chef server, specifying the chef server URL,
|
|
||||||
# and the path to the validation key (relative to this Vagrantfile).
|
|
||||||
#
|
|
||||||
# The Opscode Platform uses HTTPS. Substitute your organization for
|
|
||||||
# ORGNAME in the URL and validation key.
|
|
||||||
#
|
|
||||||
# If you have your own Chef Server, use the appropriate URL, which may be
|
|
||||||
# HTTP instead of HTTPS depending on your configuration. Also change the
|
|
||||||
# validation key to validation.pem.
|
|
||||||
#
|
|
||||||
# config.vm.provision :chef_client do |chef|
|
|
||||||
# chef.chef_server_url = "https://api.opscode.com/organizations/ORGNAME"
|
|
||||||
# chef.validation_key_path = "ORGNAME-validator.pem"
|
|
||||||
# end
|
|
||||||
#
|
|
||||||
# If you're using the Opscode platform, your validator client is
|
|
||||||
# ORGNAME-validator, replacing ORGNAME with your organization name.
|
|
||||||
#
|
|
||||||
# If you have your own Chef Server, the default validation client name is
|
|
||||||
# chef-validator, unless you changed the configuration.
|
|
||||||
#
|
|
||||||
# chef.validation_client_name = "ORGNAME-validator"
|
|
||||||
end
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Alfred
|
|
||||||
======
|
|
||||||
|
|
||||||
This Ansible playbook installs Alfred, an amazing productivity application which helps you do everything from launching specific applications, to running commands, to searching for files.
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Alfred\ 2
|
|
||||||
app_name_pretty: Alfred
|
|
||||||
app_url: http://cachefly.alfredapp.com/Alfred_2.0.3_187.zip
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
AppCleaner
|
|
||||||
==========
|
|
||||||
|
|
||||||
This Ansible playbook installs AppCleaner, an uninstallation helper program.
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: AppCleaner
|
|
||||||
app_name_pretty: AppCleaner
|
|
||||||
app_url: http://www.freemacsoft.net/downloads/AppCleaner_2.1.zip
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
Ansible Playbook - Bottle-MongoDB
|
|
||||||
=================================
|
|
||||||
|
|
||||||
This Ansible playbook provisions a server to act as both a WSGI compliant Bottle webserver and a MongoDB database. Eventually it will have the capabilities of setting up separate servers, one (or multiple) webservers, and one (or multiple) databases. This playbook will also (in the future) be able to be set up bottle using Gevent, a massively multi-threaded synchronous WSGI compliant networking library.
|
|
||||||
|
|
||||||
These are the files (bottle, and MogoDB and their dependencies) which are retrieved and installed:
|
|
||||||
|
|
||||||
* **python-pip**
|
|
||||||
* **python-dev**
|
|
||||||
* **build-essential**
|
|
||||||
* **MongoDB**
|
|
||||||
@ -1,42 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
mongodb_path: /mongodb/
|
|
||||||
mongod_log: /mongodb/mongod.log
|
|
||||||
mongod_data: /mongodb/data/
|
|
||||||
tasks:
|
|
||||||
- name: Install pip and its dependencies python-dev and build-essential
|
|
||||||
apt: pkg=python-pip,python-dev,build-essential state=installed
|
|
||||||
- name: Install bottle
|
|
||||||
pip: name=bottle
|
|
||||||
# - name: Adding 10gen's public GPG Key to apt's existing key list
|
|
||||||
# apt_key: url=http://docs.mongodb.org/10gen-gpg-key.asc state=present
|
|
||||||
# - name: Adding the python-software-properties package to fulfill the apt-add-repository dependency for the apt_repository Ansible module
|
|
||||||
# apt: pkg=python-software-properties update_cache=yes state=installed
|
|
||||||
# - name: Adding the 10gen repository to apt
|
|
||||||
# apt_repository: repo='deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' state=present
|
|
||||||
# - name: Installing MongoDB with apt
|
|
||||||
# apt: pkg=mongodb-10gen update_cache=yes
|
|
||||||
# - name: Start the MongoDB database
|
|
||||||
# service: name=mongod state=started
|
|
||||||
- name: Create the MongoDB directory at root
|
|
||||||
file: path=$mongodb_path state=directory
|
|
||||||
- name: Download MongoDB from 10gen
|
|
||||||
get_url: url=http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.1.tgz dest=/
|
|
||||||
- name: Untar MongoDB tarball
|
|
||||||
command: tar xvf mongodb-linux-x86_64-2.4.1.tgz -C /mongodb --strip-components 1 chdir=/ # The -C flag and --strip-components commands are used to change directories before untaring, and remove one directory level from all of the filenames stored in the archive
|
|
||||||
# Creating the symlinks for MongoDB
|
|
||||||
- name: Create symlink for mongod in /usr/bin/
|
|
||||||
file: src=${mongodb_path}bin/mongod dest=/usr/bin/mongod state=link
|
|
||||||
- name: Create symlink for mongo in /usr/bin/
|
|
||||||
file: src=${mongodb_path}bin/mongo dest=/usr/bin/mongo state=link
|
|
||||||
- name: Create symlink for monogdump in /usr/bin/
|
|
||||||
file: src=${mongodb_path}bin/mongodump dest=/usr/bin/mongodump state=link
|
|
||||||
- name: Create symlink for mongos in /usr/bin/
|
|
||||||
file: src=${mongodb_path}bin/mongos dest=/usr/bin/mongos state=link
|
|
||||||
- name: Create the MongoDB data directory
|
|
||||||
file: path=$mongod_data state=directory
|
|
||||||
- name: Start the MongoDB database
|
|
||||||
command: mongod --logpath $mongod_log --dbpath $mongod_data --logappend --fork
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Brackets
|
|
||||||
========
|
|
||||||
|
|
||||||
This Ansible playbook installs Brackets, a lightweight web development code editor, written in HTML, CSS, and Javascript.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Brackets\ Sprint\ 23
|
|
||||||
app_name_pretty: Brackets
|
|
||||||
app_url: http://download.brackets.io/file.cfm?platform=OSX&build=23
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Brackets\ Sprint\ 23/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Coda
|
|
||||||
====
|
|
||||||
|
|
||||||
This Ansible playbook installs Coda, a versitile web development code editor and FTP client.
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: Coda
|
|
||||||
app_name_pretty: Coda
|
|
||||||
app_url: https://panic.com/coda/d/Coda%202.0.7.zip
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
CodeKit
|
|
||||||
=======
|
|
||||||
|
|
||||||
This Ansible playbook installs CodeKit, a highly performant web development toolkit, linting, compressing, minifying, and refreshing files in managed projects.
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: CodeKit
|
|
||||||
app_name_pretty: CodeKit
|
|
||||||
app_url: http://incident57.com/codekit/files/codekit-8283.zip
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Espresso
|
|
||||||
========
|
|
||||||
|
|
||||||
This Ansible playbook installs Espresso, a powerful CSS, HTML, Javascript and PHP web development editor.
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Espresso
|
|
||||||
app_name_pretty: Espresso
|
|
||||||
app_url: http://macrabbit.com/espresso/get/
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
FileZilla
|
|
||||||
=========
|
|
||||||
|
|
||||||
This Ansible playbook installs FileZilla, a feature rich, fast FTP client.
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: FileZilla
|
|
||||||
app_name_pretty: FileZilla
|
|
||||||
app_url: http://sourceforge.net/projects/filezilla/files/FileZilla_Client/3.6.0.2/FileZilla_3.6.0.2_i686-apple-darwin9.app.tar.bz2
|
|
||||||
installer_type: app
|
|
||||||
install_method: tar
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
iTerm
|
|
||||||
=====
|
|
||||||
|
|
||||||
This Ansible playbook installs iTerm (2), a powerfull and highly customizable, feature-rich, command line interface replacement for Terminal.
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: iTerm
|
|
||||||
app_name_pretty: iTerm
|
|
||||||
app_url: https://copy.com/HTIIPAwoiKVY
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: Kaleidoscope
|
|
||||||
app_name_pretty: Kaleidoscope
|
|
||||||
app_url: http://www.kaleidoscopeapp.com/download
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Keka
|
|
||||||
====
|
|
||||||
|
|
||||||
This Ansible playbook installs Keka, a beautiful and feature rich compressor/decomressor.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Keka
|
|
||||||
app_name_pretty: Keka
|
|
||||||
app_url: http://download.kekaosx.com/
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Keka/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
LimeChat
|
|
||||||
========
|
|
||||||
|
|
||||||
This Ansible playbook installs LimeChat, a lightweight and feature rich IRC client for Mac.
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: LimeChat
|
|
||||||
app_name_pretty: LimeChat
|
|
||||||
app_url: https://downloads.sourceforge.net/project/limechat/limechat/LimeChat_2.34.tbz?use_mirror=master
|
|
||||||
installer_type: app
|
|
||||||
install_method: tar
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Mou
|
|
||||||
===
|
|
||||||
|
|
||||||
This Ansible playbook installs Mou, a feature rich Markdown editor.
|
|
||||||
14
mou/mou.yaml
14
mou/mou.yaml
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: Mou
|
|
||||||
app_name_pretty: Mou
|
|
||||||
app_url: http://mouapp.com/download/Mou.zip
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Opera
|
|
||||||
=====
|
|
||||||
|
|
||||||
This Ansible playbook installs Opera, a feature rich Webkit (and soon Blink) web browser.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Opera
|
|
||||||
app_name_pretty: Opera
|
|
||||||
app_url: http://ftp.opera.com/pub/opera/mac/1215/Opera_12.15_Setup_Intel.dmg
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Opera/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Slicy
|
|
||||||
=====
|
|
||||||
|
|
||||||
This Ansible playbook installs Slicy, a versitile tool that enhances Photoshop image slicing and retna graphic generation.
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: Slicy
|
|
||||||
app_name_pretty: Slicy
|
|
||||||
app_url: http://macrabbit.com/slicy/get/
|
|
||||||
installer_type: app
|
|
||||||
install_method: zip
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
SourceTree
|
|
||||||
==========
|
|
||||||
|
|
||||||
This Ansible playbook installs SourceTree, a rock solid Git client for Mac and Windows.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
gather_facts: false
|
|
||||||
vars:
|
|
||||||
app_name: SourceTree
|
|
||||||
app_name_pretty: SourceTree
|
|
||||||
app_url: https://copy.com/RDxUBW9uhWiQ/SourceTree-1.5.8.dmg?download=1
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/SourceTree/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Texts
|
|
||||||
=====
|
|
||||||
|
|
||||||
This Ansible playbook installs Texts, a lightweight Markdown editor.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Texts
|
|
||||||
app_name_pretty: Texts
|
|
||||||
app_url: http://www.texts.io/Texts-0.13.1.dmg
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Texts/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Transmission
|
|
||||||
============
|
|
||||||
|
|
||||||
This Ansible playbook installs Transmission, a lightwieght bittorrent client for Mac and Linux.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Transmission
|
|
||||||
app_name_pretty: Transmission
|
|
||||||
app_url: https://copy.com/jTqaA0JWmTmn/Transmission-2.77.dmg?download=1
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Transmission/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Tree
|
|
||||||
====
|
|
||||||
|
|
||||||
This Ansible playbook installs tree, a command line utility for displaying folder and file structures and data.
|
|
||||||
@ -1,13 +0,0 @@
|
|||||||
---
|
|
||||||
- include: ../setup.yaml
|
|
||||||
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
vars:
|
|
||||||
app_name: tree
|
|
||||||
app_name_pretty: tree
|
|
||||||
install_method: homebrew
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,4 +0,0 @@
|
|||||||
Trim Enabler
|
|
||||||
============
|
|
||||||
|
|
||||||
This Ansible playbook installs Trim Enabler, an essential utility for enabling Trim on SSDs.
|
|
||||||
@ -1,16 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes
|
|
||||||
vars:
|
|
||||||
app_name: Trim\ Enabler
|
|
||||||
app_name_pretty: Trim Enabler
|
|
||||||
app_url: http://groths.org/trimenabler/TrimEnabler.dmg
|
|
||||||
installer_type: app
|
|
||||||
install_method: dmg
|
|
||||||
mount_path: /Volumes/Trim\ Enabler/
|
|
||||||
vars_files:
|
|
||||||
- ../setup-vars.yaml
|
|
||||||
tasks:
|
|
||||||
- include: ../setup.yaml
|
|
||||||
- include: ../install/$install_method.yaml
|
|
||||||
@ -1,18 +0,0 @@
|
|||||||
Ansible Playbook - ZeroMQ
|
|
||||||
=========================
|
|
||||||
|
|
||||||
An Ansible playbook which installs **ZeroMQ** and all of its dependencies, along with its **Python** binding: **pyzmq**.
|
|
||||||
|
|
||||||
These are the files (ZeroMQ and its dependencies) which are retrieved and installed:
|
|
||||||
|
|
||||||
* **ZeroMQ**
|
|
||||||
* **autoconf**
|
|
||||||
* **automake**
|
|
||||||
* **build-essential**
|
|
||||||
* **libtool**
|
|
||||||
* **uuid-dev**
|
|
||||||
* ***python-pip***
|
|
||||||
* ***python-dev***
|
|
||||||
* ***pyzmq***
|
|
||||||
|
|
||||||
It's that simple.
|
|
||||||
@ -1,27 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: $hosts
|
|
||||||
user: $user
|
|
||||||
sudo: yes # Is it possible to only run certain actions as sudo ansible?
|
|
||||||
tasks:
|
|
||||||
- name: Install zeroMQ dependancies
|
|
||||||
apt: pkg=libtool,autoconf,automake,uuid-dev state=installed
|
|
||||||
- name: Get a C++ compiler package # Is this the best way to go about doing this?
|
|
||||||
apt: pkg=build-essential state=installed
|
|
||||||
- name: Create directory for zeroMQ build
|
|
||||||
file: path=/zeromq/ state=directory mode=0744
|
|
||||||
- name: Get zeroMQ tarball
|
|
||||||
get_url: url=http://download.zeromq.org/zeromq-3.2.2.tar.gz dest=/zeromq/ mode=0744
|
|
||||||
- name: Untar and uncompress (g-zip compression) the zeroMQ tarball
|
|
||||||
command: tar -xvf zeromq-3.2.2.tar.gz chdir=/zeromq/
|
|
||||||
- name: Run zeroMQ configuration
|
|
||||||
command: ./configure chdir=/zeromq/zeromq-3.2.2/ # Do I have to change the directory for every command performed in this directory? How may I get the current working directory?
|
|
||||||
- name: Make zeroMQ
|
|
||||||
command: make chdir=/zeromq/zeromq-3.2.2/
|
|
||||||
- name: Run a system-wide install of zeroMQ
|
|
||||||
command: make install chdir=/zeromq/zeromq-3.2.2/
|
|
||||||
- name: Create nessecary links
|
|
||||||
command: ldconfig chdir=/zeromq/zeromq-3.2.2/
|
|
||||||
- name: Install PIP and python-dev
|
|
||||||
apt: pkg=python-pip,python-dev state=installed
|
|
||||||
- name: Install the Python binding (driver) for zeroMQ
|
|
||||||
pip: name=pyzmq
|
|
||||||
Loading…
x
Reference in New Issue
Block a user