From 0f0ee046b1a06ef1a5e691d4b26bf54432c2c1b0 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 17 Jan 2021 10:15:49 +0100 Subject: [PATCH] bundles/c3voc-addons: some assertions to make sure we don't conflict with ansible --- bundles/c3voc-addons/items.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bundles/c3voc-addons/items.py b/bundles/c3voc-addons/items.py index e707f52..f87999f 100644 --- a/bundles/c3voc-addons/items.py +++ b/bundles/c3voc-addons/items.py @@ -1,3 +1,7 @@ +assert not node.has_bundle('apt'), f'{node.name} - bundle:apt is incompatible with ansible managed c3voc hosts' +assert not node.has_bundle('nginx'), f'{node.name} - bundle:nginx is incompatible with ansible managed c3voc hosts' +assert not node.has_bundle('users'), f'{node.name} - bundle:users is incompatible with ansible managed c3voc hosts' + pkg_apt = { 'apt-transport-https': {},