[meta] Only do SSH conf if local, handle Debian

pull/28/head
Alpha Chen 10 years ago
parent 65415f5e0a
commit 00cc05ca84

@ -23,5 +23,3 @@
dest: "{{ ansible_env.HOME}}/{{ item.value }}"
state: link
with_dict: ln
- local_action: command ruby scripts/setup_ssh_keys.rb
# when: ansible_domain == "local"

@ -3,3 +3,5 @@
tags: dotfiles
- include: powerline.yml
- include: prezto.yml
- include: ssh.yml
when: ansible_domain == "local"

@ -1,3 +1,10 @@
---
- homebrew: name=python state=present
when: ansible_distribution == "MacOSX"
- apt: name={{ item }} state=present
sudo: True
with_items:
- python
- python-pip
when: ansible_os_family == "Debian"
- command: pip install --user -e ~/.dotfiles/src/powerline

@ -1,5 +1,9 @@
---
- homebrew: name=zsh state=present
when: ansible_distribution == "MacOSX"
- apt: name=zsh state=present
sudo: True
when: ansible_os_family == "Debian"
- file:
src: "{{ ansible_env.HOME }}/.dotfiles/src/prezto"
dest: "{{ ansible_env.HOME}}/.zprezto"

@ -0,0 +1,8 @@
---
- command: >
chdir={{ ansible_env.HOME }}/.dotfiles
stow --stow --target={{ ansible_env.HOME }} ssh
tags: stow
when: ansible_domain == "local"
- local_action: command ruby scripts/setup_ssh_keys.rb
when: ansible_domain == "local"

@ -3,7 +3,6 @@ stow:
- git
- pentadactyl
- ruby
- ssh
- tmux
- vim
- osx

Loading…
Cancel
Save