Skip to content

Instantly share code, notes, and snippets.

@AnneTheAgile
Last active August 29, 2015 14:05
Show Gist options
  • Save AnneTheAgile/7a26c63b134c3b1214b6 to your computer and use it in GitHub Desktop.
Save AnneTheAgile/7a26c63b134c3b1214b6 to your computer and use it in GitHub Desktop.
talk-battle-config-gist
---
cache_dir: ~/Library/Caches/battleschool
# Originally, SpencerGibb: https://dl.dropboxusercontent.com/u/622216/battleschool/config.yml
# 2014-08-15Fri Change to AnneTheAgile
sources:
# local:
# - playbook.yml
url:
- name: playbook.yml
url: https://gist.githubusercontent.com/AnneTheAgile/28db99bd15718d2d1fe7/raw/24c8adff20191cbc27028128a9a3613711add9b1/talk-battle-playbook.yml
# https://www.dropbox.com/s/wcqanoxy1cg2o1c/playbook.yml
# was; url: https://www.dropbox.com/s/p55do4578af9q8f/playbook.yml
# was spencergibb: url: https://db.tt/VcyI9dvr
git:
- name: 'osx'
repo: 'https://github.com/spencergibb/ansible-osx'
playbooks:
- homebrew.yml #must come before any use of homebrew module
#- macports.yml #must come before any use of macports module
- vagrant.yml
- virtualbox.yml
- alfred.yml
- chrome-beta.yml
- dropbox.yml
#- intellij-idea-ultimate13.yml
- java7.yml
- java6.yml
- iterm2.yml
- macvim.yml
#- better-touch-tool.yml
#- adium.yml
#- github.yml
#- gitx.yml
#- libreoffice.yml
#- sequel-pro.yml
#- skype.yml
#- truecrypt.yml
#- usb-overdrive.yml
#- xtra-finder.yml
@AnneTheAgile
Copy link
Author

Inventory file for localhost without SSH;
https://gist.githubusercontent.com/AnneTheAgile/cbd42fab4563ed1ae024/raw/75a1000f6f68774630289bbd6d8c36fd671bf873/talk-battle-inv.yml

Empty config that calls no play books for startup via bootstrapped;
https://gist.githubusercontent.com/AnneTheAgile/071ce60cc5205b133db4/raw/99fffb034158c39630617104d45ae69e730a98fc/talk-battle-config-empty.yml

Bootstrapper part 1, gets the environment var (not used yet, for SSH) and get the basic config.
https://gist.githubusercontent.com/AnneTheAgile/5e6666bd2e2c25890e1e/raw/0e1e2e542c84ab1e01101fe1651a6afd39b82240/talk-battle-ansi-config

$ ansible-playbook -i ansinv  ansiboot.yml

PLAY [workstation] ************************************************************ 

GATHERING FACTS *************************************************************** 
ok: [localhost]

TASK: [BattleSchool Hidden Folder is created.] ******************************** 
changed: [localhost]

TASK: [BattleSchool Configuration Initialization.] **************************** 
changed: [localhost]

TASK: [Ensure git clone file gist worked.] ************************************ 
ok: [localhost]

PLAY RECAP ******************************************************************** 
localhost                  : ok=4    changed=2    unreachable=0    failed=0   

[]Some SSH creation code is embedded in here;
https://github.com/serenecloud/ansible-bootstrap/blob/master/ansible_bootstrap.sh

[]Make an ad-hoc command line of this all ?

[]Run one each of real items?

[]Run get info on Dock etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment