Display a more informative error when InvalidPrivsError is raised (#465) - fix and add integration test

This commit is contained in:
bizmate 2022-11-29 17:43:01 +04:00
commit 222eb60371
6 changed files with 30 additions and 15 deletions

View file

@ -7,9 +7,13 @@
setup:
gather_subset: distribution
when: ansible_facts == {}
tags:
- setup_remote_tmp_dir
- include_tasks: "{{ lookup('first_found', files)}}"
vars:
files:
- "{{ ansible_os_family | lower }}.yml"
- "default.yml"
tags:
- setup_remote_tmp_dir