mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 05:12:45 +00:00
Add missing register
This commit is contained in:
@@ -104,6 +104,7 @@ From this, we'll use the add_host module to dynamically create a host group cons
|
||||
Name: Demo
|
||||
instance_tags:
|
||||
Name: Demo
|
||||
register: ec2
|
||||
|
||||
- name: Add all instance public IPs to host group
|
||||
add_host: hostname={{ item.public_ip }} groupname=ec2hosts
|
||||
|
||||
Reference in New Issue
Block a user