mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-15 17:33:06 -06:00
Create playbook to print all hosts
This commit is contained in:
8
aws_print_host.yml
Normal file
8
aws_print_host.yml
Normal file
@@ -0,0 +1,8 @@
|
||||
---
|
||||
- hosts: all
|
||||
become: true
|
||||
serial: 1
|
||||
|
||||
tasks:
|
||||
- debug:
|
||||
msg: System {{ inventory_hostname }} has uuid {{ ansible_product_uuid }}
|
||||
@@ -11,6 +11,6 @@
|
||||
plugin: aws_ec2
|
||||
|
||||
filters:
|
||||
tag:aws:autoscaling:groupName: your_autoscaling_group
|
||||
tag:aws:autoscaling:groupName: inno-bpartridge-ansible-anywhere-jira-cluster
|
||||
regions:
|
||||
- your_deployment_region
|
||||
- ap-southeast-2
|
||||
Reference in New Issue
Block a user