mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
support multiple editors
This commit is contained in:
parent
8d70aeafc1
commit
f84930c9c2
5 changed files with 8 additions and 7 deletions
|
|
@ -18,3 +18,6 @@ ssh:
|
|||
port: 22
|
||||
user_key: /root/id_rsa
|
||||
enable_sshd: False
|
||||
|
||||
editors:
|
||||
- gvim
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
- { role: network }
|
||||
- { role: ntp }
|
||||
- { role: unbound }
|
||||
- { role: vim }
|
||||
- { role: editors }
|
||||
- { role: browsers }
|
||||
- { role: media }
|
||||
- { role: laptop }
|
||||
|
|
|
|||
4
roles/editors/tasks/main.yml
Normal file
4
roles/editors/tasks/main.yml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
- name: Install editors
|
||||
pacman: name={{ item }} state=present
|
||||
with_items: "{{ editors }}"
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
- name: Install gvim
|
||||
pacman: name=gvim state=present
|
||||
|
||||
- name: Install vim plugins
|
||||
command: vim +PluginInstall! +qall
|
||||
Loading…
Add table
Add a link
Reference in a new issue