-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95c1b99
commit 5423710
Showing
10 changed files
with
95 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.retry |
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,6 @@ | ||
# These roles are pulled from Ansible Galaxy, and are to be | ||
# installed prior to executing this playbook. | ||
|
||
- src: leonidas.nvm | ||
- src: azavea.vagrant | ||
- src: hubisan.virtualbox |
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,11 @@ | ||
--- | ||
- name: Clean out un-wanted packages. | ||
apt: pkg={{ item }} state=absent purge=yes | ||
become: yes | ||
with_items: | ||
- rhythmbox | ||
- evolution | ||
- evolution-common | ||
- evolution-plugins | ||
- gnome-weather | ||
- gnome-maps |
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,7 @@ | ||
--- | ||
- name: Clone dotfile repositpry | ||
git: | ||
repo: https://github.com/patrickocoffeyo/dotfiles.git | ||
dest: /home/{{ ansible_ssh_user }}/.dotfiles | ||
update: yes | ||
recursive: yes |
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,11 @@ | ||
--- | ||
- name: Install Fish shell. | ||
sudo: yes | ||
apt: | ||
name: fish | ||
state: present | ||
|
||
- name: Set Fish as the default shell. | ||
user: | ||
name: "{{ workstation_user }}" | ||
shell: /usr/bin/fish |
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,14 @@ | ||
--- | ||
- name: Symlink .gitconfig | ||
file: | ||
src: /home/{{ ansible_ssh_user }}/.dotfiles/.gitconfig | ||
dest: /home/{{ ansible_ssh_user }}/.gitconfig | ||
state: link | ||
owner: "{{ ansible_ssh_user }}" | ||
|
||
- name: Symlink global .gitignore | ||
file: | ||
src: /home/{{ ansible_ssh_user }}/.dotfiles/.gitignore | ||
dest: /home/{{ ansible_ssh_user }}/.gitignore | ||
state: link | ||
owner: "{{ ansible_ssh_user }}" |
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 @@ | ||
--- | ||
- name: Generate Gnome Shell theme. | ||
become: yes | ||
script: /home/{{ ansible_ssh_user }}/.dotfiles/gnome-terminal-theme.sh |
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,7 @@ | ||
--- | ||
- include: dotfiles.yml | ||
- include: fish.yml | ||
- include: vim.yml | ||
- include: gnomeshell.yml | ||
- include: git.yml | ||
|
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,24 @@ | ||
--- | ||
- name: Install vim. | ||
apt: | ||
name: vim | ||
state: present | ||
|
||
- name: Remove default vim user folder. | ||
file: | ||
path: /home/{{ ansible_ssh_user }}/.vim | ||
state: absent | ||
|
||
- name: Copy .vim directory. | ||
file: | ||
src: /home/{{ ansible_ssh_user }}/.dotfiles/.vim | ||
dest: /home/{{ ansible_ssh_user }}/.vim | ||
state: link | ||
owner: "{{ ansible_ssh_user }}" | ||
|
||
- name: Symlink .vimrc. | ||
file: | ||
src: /home/{{ ansible_ssh_user }}/.dotfiles/.vimrc | ||
dest: /home/{{ ansible_ssh_user }}/.vimrc | ||
state: link | ||
owner: "{{ ansible_ssh_user }}" |
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,10 @@ | ||
--- | ||
|
||
- name: Workstation Setup (Ubuntu) | ||
hosts: 127.0.0.1 | ||
connection: local | ||
user: "{{ workstation_user }}" | ||
roles: | ||
- cleanup | ||
- dotfiles | ||
|