host-yamlfy #2

Merged
noah.knegt merged 3 commits from host-yamlfy into master 2023-03-27 16:53:32 +02:00
20 changed files with 46 additions and 12 deletions
Showing only changes of commit d34be9fbf0 - Show all commits

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: