support multiple editors

This commit is contained in:
Pig Monkey 2015-09-28 16:01:48 -07:00
parent 8d70aeafc1
commit f84930c9c2
5 changed files with 8 additions and 7 deletions

View file

@ -18,3 +18,6 @@ ssh:
port: 22
user_key: /root/id_rsa
enable_sshd: False
editors:
- gvim

View file

@ -9,7 +9,7 @@
- { role: network }
- { role: ntp }
- { role: unbound }
- { role: vim }
- { role: editors }
- { role: browsers }
- { role: media }
- { role: laptop }

View file

@ -0,0 +1,4 @@
---
- name: Install editors
pacman: name={{ item }} state=present
with_items: "{{ editors }}"

View file

@ -1,6 +0,0 @@
---
- name: Install gvim
pacman: name=gvim state=present
- name: Install vim plugins
command: vim +PluginInstall! +qall