Move to dynamic ec2 inventory
Here's hoping this works yolo
This commit is contained in:
parent
1a71853193
commit
2d9c3c27c3
@ -1,5 +1,6 @@
|
||||
[defaults]
|
||||
inventory = hosts
|
||||
#inventory = hosts
|
||||
inventory = ec2.py
|
||||
remote_user = ubuntu
|
||||
private_key_file = ~/.ssh/ansible
|
||||
ssh_extra_args =-o ForwardAgent=yes -o StrictHostKeyChecking=no
|
||||
|
@ -1,9 +1,9 @@
|
||||
#!/usr/bin/ansible-playbook
|
||||
# vim:ft=ansible:
|
||||
---
|
||||
- hosts: aws
|
||||
- hosts: tag_role_common
|
||||
roles:
|
||||
- common
|
||||
- hosts: ansible
|
||||
- hosts: tag_role_ansiblehost
|
||||
roles:
|
||||
- ansiblehost
|
||||
|
Loading…
Reference in New Issue
Block a user