Browse Source

adding the right tag

master
theonlydoo 9 years ago
parent
commit
5273d8fa50
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      roles/update/tasks/restart.yml
  2. +1
    -1
      update.yml

+ 3
- 3
roles/update/tasks/restart.yml View File

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

+ 1
- 1
update.yml View File

@ -1,6 +1,6 @@
---
- name: Update host --- tags - normal, packages, ldconfig
- name: Update host --- tags - normal, packages, ldconfig, restart
hosts: all
user: root
gather_facts: yes

Loading…
Cancel
Save