Continue ansible work
This commit is contained in:
parent
cc9072dbc5
commit
bbc5f85972
3
main.yml
3
main.yml
@ -1,11 +1,10 @@
|
||||
---
|
||||
- hosts: local
|
||||
become: false
|
||||
vars:
|
||||
local_path: '/tmp/eee'
|
||||
roles:
|
||||
- {role: core, tags: [default]}
|
||||
- {role: vim, tags: [vim]}
|
||||
- {role: youcompleteme, tags: [vim,youcompleteme]}
|
||||
- {role: secure, sudo: yes, tags: [secure]}
|
||||
- {role: secure, become: yes, tags: [secure]}
|
||||
- {role: test, tags: [test]}
|
||||
|
@ -2,16 +2,14 @@
|
||||
file:
|
||||
path: "{{ local_path }}/{{ item.path }}"
|
||||
state: directory
|
||||
with_filetree: "/skel/"
|
||||
with_filetree: "skel/"
|
||||
when: item.state == 'directory'
|
||||
- name: Link files
|
||||
file:
|
||||
#src: "/skel/{{ item }}"
|
||||
src: "{{ item.src }}"
|
||||
dest: "{{ local_path }}/{{ item.path }}"
|
||||
state: link
|
||||
become: no
|
||||
with_filetree: "/skel/"
|
||||
with_filetree: "skel/"
|
||||
when: item.state == 'file'
|
||||
- name: Clone fzf
|
||||
git:
|
||||
|
Loading…
Reference in New Issue
Block a user