Migrate to new apps role
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
state: link
|
||||
force: true
|
||||
loop: "{{ scripts_files.files }}"
|
||||
when: ansible_connection in ['local', 'localhost']
|
||||
when: ansible_connection == 'local'
|
||||
|
||||
- name: "Deploy scripts (remote with copy)"
|
||||
ansible.builtin.copy:
|
||||
@@ -27,4 +27,4 @@
|
||||
dest: "{{ ansible_facts.env.HOME }}/.local/bin/{{ item.path | basename }}"
|
||||
mode: '0755'
|
||||
loop: "{{ scripts_files.files }}"
|
||||
when: ansible_connection not in ['local', 'localhost']
|
||||
when: ansible_connection != 'local'
|
||||
|
||||
Reference in New Issue
Block a user