-
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from davdunc/issue_25
Add support for ec2_instance and ec2_instance_info.
- Loading branch information
Showing
4 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# name : create, terminate, start or stop an instance in ec2, return instanceid | ||
# key : ec2_instance | ||
# condition: ansible | ||
# -- | ||
- name: ${1:create, terminate, start or stop an instance in ec2, return instanceid} | ||
ec2_instance: instance_type=$2 image_id=$3 region=$4 $0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# name : Gather information about ec2 instances in AWS. | ||
# key : ec2_instance_info | ||
# condition: ansible | ||
# -- | ||
- name: ${1:Gathers facts about remote hosts within ec2 (aws)} | ||
ec2_facts: $0 |