|
|
@ -13,6 +13,12 @@
|
|
|
|
- file: path={{local_temp_dir}} state=directory
|
|
|
|
- file: path={{local_temp_dir}} state=directory
|
|
|
|
name: ensure temp dir exists
|
|
|
|
name: ensure temp dir exists
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# file cannot do this properly, use command instead
|
|
|
|
|
|
|
|
- name: Create ciruclar symbolic link
|
|
|
|
|
|
|
|
command: ln -s ../ circles
|
|
|
|
|
|
|
|
args:
|
|
|
|
|
|
|
|
chdir: '{{role_path}}/files/subdir/subdir1'
|
|
|
|
|
|
|
|
|
|
|
|
- name: Create remote unprivileged remote user
|
|
|
|
- name: Create remote unprivileged remote user
|
|
|
|
user:
|
|
|
|
user:
|
|
|
|
name: '{{ remote_unprivileged_user }}'
|
|
|
|
name: '{{ remote_unprivileged_user }}'
|
|
|
@ -49,6 +55,12 @@
|
|
|
|
state: absent
|
|
|
|
state: absent
|
|
|
|
connection: local
|
|
|
|
connection: local
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remove circular symbolic link
|
|
|
|
|
|
|
|
file:
|
|
|
|
|
|
|
|
path: subdir/subdir1/circles
|
|
|
|
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
connection: local
|
|
|
|
|
|
|
|
|
|
|
|
- name: Remote unprivileged remote user
|
|
|
|
- name: Remote unprivileged remote user
|
|
|
|
user:
|
|
|
|
user:
|
|
|
|
name: '{{ remote_unprivileged_user }}'
|
|
|
|
name: '{{ remote_unprivileged_user }}'
|
|
|
|