From d34be9fbf0778abbbe9ae299fdb990ef28ad0c4b Mon Sep 17 00:00:00 2001 From: Noah Knegt Date: Mon, 27 Mar 2023 16:39:03 +0200 Subject: [PATCH] Set the correct roles Signed-off-by: Noah Knegt --- ansible.cfg | 2 +- base.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible.cfg b/ansible.cfg index fa6cc7e..8c1335f 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -1,2 +1,2 @@ [defaults] -inventory = inventory/servers.ini +inventory = inventory/hosts.yml diff --git a/base.yml b/base.yml index d8ffb49..d6660bc 100644 --- a/base.yml +++ b/base.yml @@ -8,13 +8,13 @@ #=================================================================================================== --- -- hosts: all +- hosts: datacenter remote_user: root roles: - setup # Clean up the system -- hosts: ubuntu +- hosts: datacenter remote_user: ansible become: true tasks: