Continue ansible work

This commit is contained in:
Austen Adler 2018-04-07 22:38:20 +00:00
parent cc9072dbc5
commit bbc5f85972
2 changed files with 3 additions and 6 deletions

View File

@ -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]}

View File

@ -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: