Debian Codegraph @

test/integration/targets/reboot/tasks/test_molly_guard.yml

raw
1 - name: Test molly-guard
2 when: ansible_facts.distribution in ['Debian', 'Ubuntu']
3 tags:
4 - molly-guard
5 block:
6 - import_tasks: get_boot_time.yml
7
8 - name: Install molly-guard
9 apt:
10 update_cache: yes
11 name: molly-guard
12 state: present
13 notify: remove molly-guard
14
15 - name: Reboot when molly-guard is installed
16 reboot:
17 search_paths: /lib/molly-guard
18 register: reboot_result
19
20 - import_tasks: check_reboot.yml