Created
April 19, 2017 05:15
-
-
Save mrlesmithjr/244b64653b1b81f2c0e8fa386e978126 to your computer and use it in GitHub Desktop.
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
The following machines were included in this execution: | |
# Defined machines marked as broken | |
{% if groups['maas_broken_machines'] is defined %} | |
maas_broken_machines: | |
{% for host in groups['maas_broken_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_broken_machines'] is not defined %} | |
maas_broken_machines: [] | |
{% endif %} | |
# Defined machines to be Commissioned | |
{% if groups['maas_commission_machines'] is defined %} | |
maas_commission_machines: | |
{% for host in groups['maas_commission_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_commission_machines'] is not defined %} | |
maas_commission_machines: [] | |
{% endif %} | |
# Defined machines to be deployed | |
{% if groups['maas_deployed_machines'] is defined %} | |
maas_deployed_machines: | |
{% for host in groups['maas_deployed_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_deployed_machines'] is not defined %} | |
maas_deployed_machines: [] | |
{% endif %} | |
# Defined machines which have failed | |
{% if groups['maas_failed_machines'] is defined %} | |
maas_failed_machines: | |
{% for host in groups['maas_failed_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_failed_machines'] is not defined %} | |
maas_failed_machines: [] | |
{% endif %} | |
# Defined machines as new | |
{% if groups['maas_new_machines'] is defined %} | |
maas_new_machines: | |
{% for host in groups['maas_new_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_new_machines'] is not defined %} | |
maas_new_machines: [] | |
{% endif %} | |
# Defined machines which are in an unknown power state | |
{% if groups['maas_power_unknown_machines'] is defined %} | |
maas_power_unknown_machines: | |
{% for host in groups['maas_power_unknown_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_power_unknown_machines'] is not defined %} | |
maas_power_unknown_machines: [] | |
{% endif %} | |
# Defined machines which are powered off | |
{% if groups['maas_powered_off_machines'] is defined %} | |
maas_powered_off_machines: | |
{% for host in groups['maas_powered_off_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_powered_off_machines'] is not defined %} | |
maas_powered_off_machines: [] | |
{% endif %} | |
# Defined machines which are powered on | |
{% if groups['maas_powered_on_machines'] is defined %} | |
maas_powered_on_machines: | |
{% for host in groups['maas_powered_on_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_powered_on_machines'] is not defined %} | |
maas_powered_on_machines: [] | |
{% endif %} | |
# Defined machines which are in a ready state | |
{% if groups['maas_ready_machines'] is defined %} | |
maas_ready_machines: | |
{% for host in groups['maas_ready_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_ready_machines'] is not defined %} | |
maas_ready_machines: [] | |
{% endif %} | |
# Defined machines which are to be released | |
{% if groups['maas_release_machines'] is defined %} | |
maas_release_machines: | |
{% for host in groups['maas_release_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_release_machines'] is not defined %} | |
maas_release_machines: [] | |
{% endif %} | |
# Defined machines which are currently in rescue mode | |
{% if groups['maas_rescue_mode_machines'] is defined %} | |
maas_rescue_mode_machines: | |
{% for host in groups['maas_rescue_mode_machines'] %} | |
- '{{ host }}' | |
{% endfor %} | |
{% elif groups['maas_rescue_mode_machines'] is not defined %} | |
maas_rescue_mode_machines: [] | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment