From 544b75ad2ff8f0a961de2f9b0fce16aebce6fd13 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Fri, 3 Apr 2020 16:15:11 -0500 Subject: [PATCH] Run puppet on old nb0[1-3] in nodepool playbook We still need to run puppet here until they're replaced, but we're triggering service-nodepool on project-config nodepool changes. So run the puppet. Change-Id: Ib0bdaeee98e19921b8c4117c12f8a0c05e64af57 --- playbooks/remote_puppet_else.yaml | 2 +- playbooks/service-nodepool.yaml | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/remote_puppet_else.yaml b/playbooks/remote_puppet_else.yaml index b16511c982..76e73b5e60 100644 --- a/playbooks/remote_puppet_else.yaml +++ b/playbooks/remote_puppet_else.yaml @@ -1,4 +1,4 @@ -- hosts: 'puppet:!review:!afs:!afsdb:!puppetmaster*:!disabled' +- hosts: 'puppet:!review:!afs:!afsdb:!puppetmaster*:!nb*:!disabled' name: "Puppet-else: run puppet on all other servers" strategy: free roles: diff --git a/playbooks/service-nodepool.yaml b/playbooks/service-nodepool.yaml index af2f5a61e0..4eacc6b3a5 100644 --- a/playbooks/service-nodepool.yaml +++ b/playbooks/service-nodepool.yaml @@ -15,6 +15,13 @@ - configure-openstacksdk - nodepool-builder +- hosts: 'nb01.openstack.org:nb02.openstack.org:nb03.openstack.org:!disabled' + name: "run puppet on all older servers" + strategy: free + roles: + - puppet-install + - disable-puppet-agent + - puppet # TODO(ianw) 2020-03-03 : watch this space... #- hosts: nodepool-launcher_opendev:!disabled