* ci: disable injecting facts as own vars in the main namespace Signed-off-by: Norman Ziegner <[email protected]> * Consistently access facts via the ansible_facts.* namespace Signed-off-by: Norman Ziegner <[email protected]> --------- Signed-off-by: Norman Ziegner <[email protected]>
10 lines
237 B
YAML
10 lines
237 B
YAML
---
|
|
- name: Read local linux user database
|
|
getent:
|
|
database: passwd
|
|
|
|
- name: Check that shell_sys_acc's shell is still bash
|
|
ansible.builtin.assert:
|
|
that:
|
|
- ansible_facts.getent_passwd['shell_sys_acc'][5] == "/bin/bash"
|