From d0c74e96de0057db4ce933d5e73cac27b5653b1a Mon Sep 17 00:00:00 2001 From: Adam Ruzicka Date: Tue, 3 Dec 2024 13:15:49 +0100 Subject: [PATCH] Set unattended url using fam --- roles/foreman_provisioning/tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/roles/foreman_provisioning/tasks/main.yml b/roles/foreman_provisioning/tasks/main.yml index 75eee759b..da1904dca 100644 --- a/roles/foreman_provisioning/tasks/main.yml +++ b/roles/foreman_provisioning/tasks/main.yml @@ -13,8 +13,9 @@ # TODO verify - should not be needed, DNS should work just fine - name: 'set unattended_url' - shell: > - {{ foreman_provisioning_hammer }} settings set --name unattended_url --value 'http://{{ foreman_provisioning_ip_address }}' + theforeman.foreman.setting: + name: unattended_url + value: "http://{{ foreman_provisioning_ip_address }}" - name: 'find hostgroup Base' shell: >