Update strucutre
This commit is contained in:
parent
633a61b6f2
commit
564069b828
24 changed files with 182 additions and 225 deletions
29
tasks/main.yml
Normal file
29
tasks/main.yml
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
- name: add gitlab to known hosts
|
||||
include_role:
|
||||
name: common
|
||||
tasks_from: 'known_hosts.yml'
|
||||
vars:
|
||||
user: '{{ ansible_user_id }}'
|
||||
items:
|
||||
- { domain: '{{ gitlab_domain }}', key: '{{ gitlab_host_key }}' }
|
||||
|
||||
- name: create development dir
|
||||
file:
|
||||
path: '{{ ansible_env.HOME }}/development'
|
||||
state: directory
|
||||
mode: '0755'
|
||||
|
||||
- name: clone git hooks
|
||||
git:
|
||||
repo: '{{ githook_repo }}'
|
||||
dest: '{{ ansible_env.HOME }}/development/git-hooks'
|
||||
update: true
|
||||
version: master
|
||||
|
||||
- name: clone neovim packages
|
||||
git:
|
||||
repo: '{{ item.url }}'
|
||||
dest: '{{ xdg_data_dir }}/nvim/site/pack/default/start/{{ item.name }}'
|
||||
version: master
|
||||
update: true
|
||||
loop: '{{ vim_plugins }}'
|
||||
Loading…
Add table
Add a link
Reference in a new issue