Created
November 29, 2018 14:36
-
-
Save markuman/55a0e63545e384144060f87d271be94d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
--- | |
- hosts: localhost | |
connection: local | |
gather_facts: False | |
tasks: | |
- name: determine service | |
ecs_service_facts: | |
cluster: "my-cluster-test" | |
service: "some_service" | |
details: true | |
register: output | |
- debug: msg = "{{ item.runningCount }}" | |
with_items: "{{ output.services }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment