From 7d27c45973016f54aafcfc229c0f472d6e06f504 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Fri, 17 Aug 2018 03:20:07 +0000 Subject: [PATCH] This variable does not start with ansible_ Signed-off-by: Patrick Uiterwijk --- roles/koji_builder/tasks/main.yml | 2 +- roles/koji_builder/templates/kojid.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml index 90efdcacee..921daa8cc7 100644 --- a/roles/koji_builder/tasks/main.yml +++ b/roles/koji_builder/tasks/main.yml @@ -220,7 +220,7 @@ with_items: - python2-osbs-client.noarch - python3-osbs-client.noarch - when: "ansible_architecture == 'x86_64' and not ansible_inventory_hostname.startswith('bkernel')" + when: "ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel')" tags: - koji_builder diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 859680fc1e..3c28a3372e 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -138,7 +138,7 @@ plugins = runroot {% else %} -{% if ansible_architecture == 'x86_64' and not ansible_inventory_hostname.startswith('bkernel') %} +{% if ansible_architecture == 'x86_64' and not inventory_hostname.startswith('bkernel') %} plugins = builder_containerbuild {% else %} plugins =