update..
This commit is contained in:
17
roles/common/tasks/symlink_files.yml
Normal file
17
roles/common/tasks/symlink_files.yml
Normal file
@ -0,0 +1,17 @@
|
||||
---
|
||||
|
||||
- name: (symlink_files.yml) Symlink files
|
||||
file:
|
||||
src: '{{ item.src_path }}'
|
||||
dest: '{{ item.dest_path }}'
|
||||
owner: root
|
||||
group: root
|
||||
state: link
|
||||
loop: "{{ symlink_files }}"
|
||||
loop_control:
|
||||
label: 'dest: {{ item.name }}'
|
||||
when:
|
||||
- symlink_files is defined
|
||||
- symlink_files|length > 0
|
||||
tags:
|
||||
- symlink-files
|
Reference in New Issue
Block a user