Skip to content

Tunables

Vincent Flesouras edited this page Feb 18, 2016 · 1 revision
/usr/local/grail/config/
	\
	defaults 
		\
		 - main.yml - default variables for the main playbook
	files
		\
		 - slac_*.conf - virtualhost files for slac specific sites, can use as a template
		 - ssh_config - system wide ssh configuration file, lands in /etc/ssh
		 - httpd-autoindex.conf - not used yet, but will be in the future.
	role
		\
		 - profile-all - profile that all implementations use See 1.
		 - profile-developer - Developer specific profile  See 2.
		 - profile-drupal-dev - Drupal Development profile  See 3.
	vars
		\
		 main.yml - local configurable variables - not used right now
  • all.yml

    • Creates an SSH directory
    • Populates an SSH config in the SSH dir
    • Add the user to sudoers
    • Create the current users bin directory for later population
    • Calls the all profile

    Vars:

    • computername
    • git user name
    • git email
  • dev.yml

    • Creates an SSH directory
    • Populates an SSH config in the SSH dir
    • Add the user to sudoers
    • Create the current users bin directory for later population
    • Calls the all profile
    • Calls the developer profile

    Vars:

    • Which older versions of node to include along with current?
    • Mysql_root_password
    • Path to store websites
    • Git user name
    • Git email
    • Sublime packages you prefer
    • Sublime app color scheme
    • Sublime text color scheme
    • OS-Defaults: changes made to your OS-X user/profile
  • drupal.yml

    • Creates an SSH directory
    • Populates an SSH config in the SSH dir
    • Set the git username
    • Set the git email
    • Add the user to sudoers
    • Create the current users bin directory for later population
    • Copy the vhost script to the bin
    • copy the vhost conf
    • Calls the all profile
    • Calls the developer profile
    • Calls the Drupal developer profile

    Vars:

    • Which older versions of node to include along with current?
    • Mysql_root_password
    • Path to store websites
    • Git user name
    • Git email
    • Which SLAC Sites to clone to local
    • Where to install Drush
    • Which version of Drush
    • Keep drush updated?
    • Force drush update?
    • Where to install composer
    • Who owns the default composer dir
    • Group of the default composer dir
    • Which version of PHP: 5.5 or 7 ?
    • Sublime packages you prefer
    • Sublime app color scheme
    • Sublime text color scheme
    • OS-Defaults: changes made to your OS-X user/profile
  • requirements.yml

    Pulls the following repositories:

###Profiles

Profiles have the following Structure

profile-name
		\
		 defaults
		 	\
		 	 main.yml - Contains default variable values.  These are overridden by any local variable declaration
		 meta
		 	\
		 	 main.yml - Contains ansible-galaxy meta information about the playbook or role
		 tasks
		    \
		     main.yml - tasks specific to the profile. 
		 README.md
  1. All

  • Overall actions

    • Sets the computername and enhances the CLI
    • Installs the listed applications
  • defaults

    • computername - sets it to your logged in user by default
  • tasks

    Installs the following packages

    • Slack chat app
    • Google Drive
    • VLC Video and Audio utility
    • Keeping you Awake - useful for the default set timeout
    • Google Chrome, Current
    • Firefox web browser
    • iTerm2 an enhanced terminal client
  1. Dev

    • Overall actions

      Sets the computername and enhances the CLI

      Installs the listed applications

      Installs Homebrew - an OS-X centric package mananger

      Installs Sublime Text 3 - a common and extensible text editor

      Installs NodeJS - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.

      Installs an enhanced version of Vim - Vi, the command line editor, improved

      Installs some initial OS-X customizations - list is fortcoming

    • defaults

      • Which older versions of node to include along with current?
      • Mysql_root_password
      • Path to store websites
      • Git user name
      • Git email
      • Sublime packages you prefer
      • Sublime app color scheme
      • Sublime text color scheme
      • OS-Defaults: changes made to your OS-X user/profile
    • tasks

      Installs the following packages

      • caskroom
      • wget
      • pwgen
      • xmlstarlet
      • htop-osx
      • watch
      • rsync
      • git-flow
      • ansible
      • autoconf
      • bash-completion
      • boot2docker
      • docker
      • gettext
      • go
      • gpg
      • hub
      • iperf
      • libdvdcss
      • libevent
      • packer
      • python
      • sqlite
      • mcrypt
      • ssh-copy-id
      • ios-sim
      • readline
      • subversion
      • kdiff3
      • openssl
      • pv
      • wrk
      • brew-cask
      • mongodb
      • sl
      • imageoptim
      • java6
      • java7
      • java
      • adium
      • bettertouchtool
      • dropbox
      • fing
      • handbrake
      • karabiner
      • licecap
      • macvim
      • menumeters
      • nvalt
      • sequel-pro
      • skype
      • skitch
      • seil
      • sublime-text
      • textmate
      • timemachineeditor
      • transmit
      • vagrant
      • vagrant-manager
      • vlc
      • virtualbox
  2. Drupal

    Overall actions

     Sets the computername and enhances the CLI
     Installs the listed applications
     Installs [Homebrew](http://brew.sh) - an OS-X centric package mananger 
     Installs Percona a MySQL server
     Installs PHP
     Installs [Sublime Text 3](https://www.sublimetext.com/3) - a common and extensible text editor
     Installs [NodeJS](https://nodejs.org/en/) - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. 
     Installs an enhanced version of [Vim](http://www.vim.org/) - Vi, the command line editor, improved
     Installs Composer the PHP package manager
     Installs Drush - the Drupal Shell
     Builds slac-features locally, reachable by opening a browser and going to http://slac-feautres (slac-www and slac-gtw coming soon)
     Installs some initial OS-X customizations - list is fortcoming
    
    • defaults

      • Which older versions of node to include along with current?
      • Mysql_root_password
      • Path to store websites
      • Git user name
      • Git email
      • Which SLAC Sites to clone to local
      • Where to install Drush
      • Which version of Drush
      • Keep drush updated?
      • Force drush update?
      • Where to install composer
      • Who owns the default composer dir
      • Group of the default composer dir
      • Which version of PHP: 5.5 or 7 ?
      • Sublime packages you prefer
      • Sublime app color scheme
      • Sublime text color scheme
      • OS-Defaults: changes made to your OS-X user/profile
    • tasks

      Installs the following packages

      • caskroom
      • wget
      • pwgen
      • xmlstarlet
      • htop-osx
      • watch
      • rsync
      • git-flow
      • ansible
      • autoconf
      • bash-completion
      • boot2docker
      • docker
      • gettext
      • go
      • gpg
      • hub
      • iperf
      • libdvdcss
      • libevent
      • packer
      • python
      • sqlite
      • mcrypt
      • ssh-copy-id
      • ios-sim
      • readline
      • subversion
      • kdiff3
      • openssl
      • pv
      • wrk
      • brew-cask
      • mongodb
      • sl
      • imageoptim
      • java6
      • java7
      • java
      • adium
      • bettertouchtool
      • dropbox
      • fing
      • handbrake
      • karabiner
      • licecap
      • macvim
      • menumeters
      • nvalt
      • sequel-pro
      • skype
      • skitch
      • seil
      • sublime-text
      • textmate
      • timemachineeditor
      • transmit
      • vagrant
      • vagrant-manager
      • vlc
      • virtualbox
Clone this wiki locally