You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

19 lines
456 B

---
- name: Install debian-goodies
apt: pkg=debian-goodies state=installed update_cache=no
tags: restart
when: ansible_distribution == 'Debian'
ignore_errors: yes
- name: Copy checkrestart wrapper and config
tags: restart
copy: src={{ item }} dest=/tmp/{{ item }}
with_items:
- wrapper.sh
- ignore
- name: Execute Wrapper
tags: restart
shell: /bin/bash -x /tmp/wrapper.sh
#vim: set textwidth=0 ft=yaml ts=2 sw=2 expandtab: