Restructure inventory to yaml format, consolidate hostvars

This commit is contained in:
2019-11-23 21:40:17 -05:00
parent 5cedb22b51
commit 23a6dfcc62
5 changed files with 109 additions and 181 deletions

17
en2.yml Normal file
View File

@@ -0,0 +1,17 @@
---
all:
vars:
ansible_user: ansible
protected_users: ["root", "ansible"]
enable_gui: false
enable_ssh: true
enable_ssh_password_auth: false
disable_sudo_password: false
enable_networkd: false
ungrouped:
hosts:
nimbus-1:
ansible_host: en2.enp.one
description: EN2 Digitial Ocean Cloud Server
required_os: centos_7
targets: ["admin", "network"]