fix(ansible): reference facts via ansible_facts to silence deprecation
INJECT_FACTS_AS_VARS auto-injection of top-level facts is deprecated and removed in ansible-core 2.24. Use ansible_facts['architecture'] and ansible_facts['date_time']['epoch'] instead.
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
'armv6l': 'armv6',
|
||||
'i386': '386',
|
||||
'i686': '386'
|
||||
}[ansible_architecture] }}
|
||||
}[ansible_facts['architecture']] }}
|
||||
|
||||
- name: Set release filenames
|
||||
ansible.builtin.set_fact:
|
||||
|
||||
Reference in New Issue
Block a user