Set the correct roles

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2023-03-27 16:39:03 +02:00
parent 6e457b2be3
commit d34be9fbf0
2 changed files with 3 additions and 3 deletions

View File

@@ -1,2 +1,2 @@
[defaults] [defaults]
inventory = inventory/servers.ini inventory = inventory/hosts.yml

View File

@@ -8,13 +8,13 @@
#=================================================================================================== #===================================================================================================
--- ---
- hosts: all - hosts: datacenter
remote_user: root remote_user: root
roles: roles:
- setup - setup
# Clean up the system # Clean up the system
- hosts: ubuntu - hosts: datacenter
remote_user: ansible remote_user: ansible
become: true become: true
tasks: tasks: