Run third-party prep check locally
This commit is contained in:
1 parent
21318b8c8a
commit
51c0f58b16
1 file changed
+3
-3
@@ -153,15 +153,15 @@
|
||||
mode: "0644"
|
||||
|
||||
- name: Check for third-party preparation tasks
|
||||
ansible.builtin.stat:
|
||||
local_action:
|
||||
module: ansible.builtin.stat
|
||||
path: >-
|
||||
{{
|
||||
thirdparty_preparation_tasks_path
|
||||
if thirdparty_preparation_tasks_path | regex_search('^/')
|
||||
else playbook_dir + '/' + thirdparty_preparation_tasks_path
|
||||
}}
|
||||
delegate_to: localhost
|
||||
connection: local
|
||||
become: false
|
||||
run_once: true
|
||||
register: environment_thirdparty_tasks_stat
|
||||
changed_when: false
|
||||
|
||||
Reference in new issue
Block a user