From 544fb3e9a2d11fa0f5aaa1ef6f218e101afd1b19 Mon Sep 17 00:00:00 2001 From: CaptainArk Date: Sat, 4 Jun 2016 00:37:01 +0200 Subject: [PATCH] yet another update to the debian playbook --- content/debian-update-with-ansible.md | 2 +- output/debian-updates-with-ansible.html | 2 +- output/rss.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/debian-update-with-ansible.md b/content/debian-update-with-ansible.md index 12bb02c..1667080 100644 --- a/content/debian-update-with-ansible.md +++ b/content/debian-update-with-ansible.md @@ -58,7 +58,7 @@ I modified [this gist](https://gist.github.com/maethor/380676f6b1cec8cc7439) to when: ansible_distribution_release == 'wheezy' - name: /jessie/ list services to restart (1/3) - shell: needrestart -bl | awk '/^NEEDRESTART-SVC/{print $2}' + shell: needrestart -blrl | awk '/^NEEDRESTART-SVC/{print $2}' register: jessie_services changed_when: False when: ansible_distribution_release != 'wheezy' diff --git a/output/debian-updates-with-ansible.html b/output/debian-updates-with-ansible.html index b2b3d16..fcc9cbc 100644 --- a/output/debian-updates-with-ansible.html +++ b/output/debian-updates-with-ansible.html @@ -164,7 +164,7 @@ when: ansible_distribution_release == 'wheezy' - name: /jessie/ list services to restart (1/3) - shell: needrestart -bl | awk '/^NEEDRESTART-SVC/{print $2}' + shell: needrestart -blrl | awk '/^NEEDRESTART-SVC/{print $2}' register: jessie_services changed_when: False when: ansible_distribution_release != 'wheezy' diff --git a/output/rss.xml b/output/rss.xml index 8953a3e..52eb5ee 100644 --- a/output/rss.xml +++ b/output/rss.xml @@ -674,7 +674,7 @@ bind &#39;&quot;&#39; choose-window <span class="l l-Scalar l-Scalar-Plain">when</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">ansible_distribution_release == &#39;wheezy&#39;</span> <span class="p p-Indicator">-</span> <span class="l l-Scalar l-Scalar-Plain">name</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">/jessie/ list services to restart (1/3)</span> - <span class="l l-Scalar l-Scalar-Plain">shell</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">needrestart -bl | awk &#39;/^NEEDRESTART-SVC/{print $2}&#39;</span> + <span class="l l-Scalar l-Scalar-Plain">shell</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">needrestart -blrl | awk &#39;/^NEEDRESTART-SVC/{print $2}&#39;</span> <span class="l l-Scalar l-Scalar-Plain">register</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">jessie_services</span> <span class="l l-Scalar l-Scalar-Plain">changed_when</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">False</span> <span class="l l-Scalar l-Scalar-Plain">when</span><span class="p p-Indicator">:</span> <span class="l l-Scalar l-Scalar-Plain">ansible_distribution_release != &#39;wheezy&#39;</span>