From 8f5e162fd6c1ea825f50c2c62374b1660adb94b5 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 30 Aug 2024 12:16:35 -0400 Subject: [PATCH] Skip update-motd and update-issue run on bootstrap --- roles/base/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index 95e7cd8..282a19a 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -664,12 +664,12 @@ - name: run update-motd on change command: /usr/local/sbin/update-motd.sh - when: profile_scripts.changed + when: profile_scripts.changed and not newhost tags: base-shell - name: run update-issue on change command: /usr/local/sbin/update-issue.sh - when: profile_scripts.changed + when: profile_scripts.changed and not newhost tags: base-shell # htop