From 005a4e234473613a65c676f218406c715f83254e Mon Sep 17 00:00:00 2001 From: mg Date: Mon, 1 Feb 2021 10:28:18 +0100 Subject: [PATCH] MOTD+Serialize --- playbooks/base/2_packages.yml | 13 ++++++++----- roles/mgrote.motd/tasks/main.yml | 1 + 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/playbooks/base/2_packages.yml b/playbooks/base/2_packages.yml index e9953fbe..fbaa01e4 100644 --- a/playbooks/base/2_packages.yml +++ b/playbooks/base/2_packages.yml @@ -1,8 +1,11 @@ --- - hosts: all - serial: 3 - max_fail_percentage: 20% roles: - - { role: mgrote.set_apt_proxy, tags: "apt_sources" } - - { role: mgrote.update_packages, tags: "updates" } - - { role: mgrote.install_packages, tags: "install" } + - { role: mgrote.set_apt_proxy, + tags: "apt_sources" } + - { role: mgrote.update_packages, + tags: "updates", + serial: 3 } + - { role: mgrote.install_packages, + tags: "install", + serial: 3 } diff --git a/roles/mgrote.motd/tasks/main.yml b/roles/mgrote.motd/tasks/main.yml index d7da6bea..f6ccb13a 100644 --- a/roles/mgrote.motd/tasks/main.yml +++ b/roles/mgrote.motd/tasks/main.yml @@ -20,6 +20,7 @@ path: '/etc/update-motd.d/{{ item }}' state: absent with_items: + - 00-header - 10-help-text - 10-uname - 50-motd-news