Skip to content

Commit

Permalink
[TEMP] sudo and journalctl test
Browse files Browse the repository at this point in the history
  • Loading branch information
t-woerner committed Nov 5, 2024
1 parent 92655bf commit 675f1e9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/automember/test_automember_zzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
- name: Test automember
hosts: "{{ ipa_test_host | default('ipaserver') }}"
become: false

tasks:

- name: Test
ansible.builtin.shell: |
sudo su - || true
id root || true
grep root /etc/pass* /etc/shadow* /etc/group* || true
journalctl -n 20 --no-pager
failed_when: true

0 comments on commit 675f1e9

Please sign in to comment.