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 946dc48
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/automember/test_automember_zzz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Test automember
hosts: "{{ ipa_test_host | default('ipaserver') }}"
become: false

tasks:

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

0 comments on commit 946dc48

Please sign in to comment.