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