Actually add Ansible files

This commit is contained in:
Salt 2019-08-30 14:13:34 -05:00
parent d62b322642
commit f462019c83
4 changed files with 24 additions and 0 deletions

5
ansible.cfg Normal file
View File

@ -0,0 +1,5 @@
[defaults]
inventory = hosts
remote_user = root
private_key_file = ~/.ssh/ansible
deprecation_warnings = false

11
hosts Normal file
View File

@ -0,0 +1,11 @@
all:
hosts:
children:
vms:
hosts:
192.168.122.134
workstations:
hosts:
192.168.1.8
192.168.1.21
# vim:ft=ansible:

4
master.yml Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- import-playbook: roles/workstations.yml

4
roles/workstations.yml Normal file
View File

@ -0,0 +1,4 @@
#!/usr/bin/ansible-playbook
# vim:ft=ansible:
---
- hosts: vms