From 5273d8fa50f6b128a3cd5c706ae3ae5c2005fd68 Mon Sep 17 00:00:00 2001 From: theonlydoo Date: Tue, 24 Feb 2015 17:23:39 +0100 Subject: [PATCH] adding the right tag --- roles/update/tasks/restart.yml | 6 +++--- update.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/update/tasks/restart.yml b/roles/update/tasks/restart.yml index 348e4a4..f9d1345 100644 --- a/roles/update/tasks/restart.yml +++ b/roles/update/tasks/restart.yml @@ -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: diff --git a/update.yml b/update.yml index 70ceb50..96be9cd 100644 --- a/update.yml +++ b/update.yml @@ -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