Split variables into different files
This commit is contained in:
parent
bfab532419
commit
f7c32b20ac
|
@ -2,14 +2,16 @@
|
||||||
- hosts: all
|
- hosts: all
|
||||||
|
|
||||||
vars_files:
|
vars_files:
|
||||||
- vars/main.yml
|
- vars/dotfiles.yml
|
||||||
|
- vars/homebrew.yml
|
||||||
|
- vars/misc.yml
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- { include: tasks/sudoers.yml, tags: ['base', 'sudoers'] }
|
- { include: tasks/sudoers.yml, tags: ['base', 'sudoers'] }
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- { role: geerlingguy.dotfiles, tags: ['dotfiles'] }
|
- { role: geerlingguy.dotfiles, tags: ['dotfiles'] }
|
||||||
- { role: geerlingguy.homebrew, tags: ['brew'] }
|
- { role: geerlingguy.homebrew, tags: ['brew', 'homebrew'] }
|
||||||
- { role: dotstrap.fish, tags: ['fish'] }
|
- { role: dotstrap.fish, tags: ['fish'] }
|
||||||
- { role: sublime, tags: ['sublime'] }
|
- { role: sublime, tags: ['sublime'] }
|
||||||
- { role: osx, tags: ['osx'] }
|
- { role: osx, tags: ['osx'] }
|
||||||
|
|
15
vars/dotfiles.yml
Normal file
15
vars/dotfiles.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
dotfiles_repo: "https://github.com/opdavies/dotfiles.git"
|
||||||
|
dotfiles_repo_local_destination: "~/Code/Personal/github/dotfiles"
|
||||||
|
dotfiles_files:
|
||||||
|
# - .composer/composer.json
|
||||||
|
# - .composer/composer.lock
|
||||||
|
- .config/fish/functions/ga.fish
|
||||||
|
- .config/fish/functions/gc.fish
|
||||||
|
- .config/fish/functions/gs.fish
|
||||||
|
- .config/fish/functions/l.fish
|
||||||
|
- .config/fish/functions/v.fish
|
||||||
|
- .gitconfig
|
||||||
|
- .gitignore-global
|
||||||
|
- .ideavimrc
|
||||||
|
- .vimrc
|
|
@ -1,19 +1,4 @@
|
||||||
---
|
---
|
||||||
dotfiles_repo: "https://github.com/opdavies/dotfiles.git"
|
|
||||||
dotfiles_repo_local_destination: "~/Code/Personal/github/dotfiles"
|
|
||||||
dotfiles_files:
|
|
||||||
# - .composer/composer.json
|
|
||||||
# - .composer/composer.lock
|
|
||||||
- .config/fish/functions/ga.fish
|
|
||||||
- .config/fish/functions/gc.fish
|
|
||||||
- .config/fish/functions/gs.fish
|
|
||||||
- .config/fish/functions/l.fish
|
|
||||||
- .config/fish/functions/v.fish
|
|
||||||
- .gitconfig
|
|
||||||
- .gitignore-global
|
|
||||||
- .ideavimrc
|
|
||||||
- .vimrc
|
|
||||||
|
|
||||||
homebrew_taps:
|
homebrew_taps:
|
||||||
- caskroom/cask
|
- caskroom/cask
|
||||||
- caskroom/fonts
|
- caskroom/fonts
|
||||||
|
@ -30,11 +15,10 @@ homebrew_installed_packages:
|
||||||
- git-sh
|
- git-sh
|
||||||
- htop
|
- htop
|
||||||
- hub
|
- hub
|
||||||
|
- mas
|
||||||
- myrepos
|
- myrepos
|
||||||
- mysql
|
- mysql
|
||||||
- peco
|
- peco
|
||||||
# - php56
|
|
||||||
# - php56-xdebug
|
|
||||||
- phpmd
|
- phpmd
|
||||||
- phpunit
|
- phpunit
|
||||||
- python
|
- python
|
||||||
|
@ -83,16 +67,3 @@ homebrew_cask_apps:
|
||||||
- vagrant
|
- vagrant
|
||||||
- virtualbox
|
- virtualbox
|
||||||
- vlc
|
- vlc
|
||||||
|
|
||||||
homebrew_upgrade_all_packages: yes
|
|
||||||
|
|
||||||
ruby_install_gems:
|
|
||||||
- grunt
|
|
||||||
- jekyll
|
|
||||||
|
|
||||||
nodejs_forever: false
|
|
||||||
nodejs_npm_global_packages:
|
|
||||||
- name: grunt-cli
|
|
||||||
- name: gulp
|
|
||||||
|
|
||||||
sublime_path: "~/Library/Application Support/Sublime Text 2"
|
|
11
vars/misc.yml
Normal file
11
vars/misc.yml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
---
|
||||||
|
ruby_install_gems:
|
||||||
|
- grunt
|
||||||
|
- jekyll
|
||||||
|
|
||||||
|
nodejs_forever: false
|
||||||
|
nodejs_npm_global_packages:
|
||||||
|
- name: grunt-cli
|
||||||
|
- name: gulp
|
||||||
|
|
||||||
|
sublime_path: "~/Library/Application Support/Sublime Text 2"
|
Loading…
Reference in a new issue