added facts gathering for become sudo-rs workaround
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
- name: Install basic features
|
||||
hosts: all
|
||||
gather_facts: true
|
||||
become: true
|
||||
become_exe: "{{ 'sudo.ws' if ansible_facts.packages['sudo-rs'] is defined else 'sudo' }}" # Temporary workaround for sudo-rs on Ubuntu 25.10 or later including 26.04 LTS (Lunar Lobster).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user