From 8e9491c6d546ef3ba9735585e3fd0374dcdd0b14 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 4 Jan 2023 15:20:47 +0100 Subject: [PATCH] Ensure Configure Cloud Connector runs as root When a user has set the REX user as non-root, this task fails. Setting become to true means it will attempt to use sudo, which allows it to work in more cases. --- app/views/job_templates/cloud_connector.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/views/job_templates/cloud_connector.erb b/app/views/job_templates/cloud_connector.erb index f4292e18..65d74f24 100644 --- a/app/views/job_templates/cloud_connector.erb +++ b/app/views/job_templates/cloud_connector.erb @@ -30,6 +30,7 @@ feature: ansible_configure_cloud_connector --- - hosts: all + become: true vars: satellite_cloud_connector_url: "<%= foreman_server_url %>" roles: