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

  1. ---
  2. - name: Install debian-goodies
  3. apt: pkg=debian-goodies state=installed update_cache=no
  4. tags: restart
  5. when: ansible_distribution == 'Debian'
  6. ignore_errors: yes
  7. - name: Copy checkrestart wrapper and config
  8. tags: restart
  9. copy: src={{ item }} dest=/tmp/{{ item }}
  10. with_items:
  11. - wrapper.sh
  12. - ignore
  13. - name: Execute Wrapper
  14. tags: restart
  15. shell: /bin/bash -x /tmp/wrapper.sh
  16. #vim: set textwidth=0 ft=yaml ts=2 sw=2 expandtab: