diff options
author | Jason DeTiberus <jdetiber@redhat.com> | 2015-10-28 11:11:15 -0400 |
---|---|---|
committer | Samuel Munilla <smunilla@redhat.com> | 2015-11-04 09:27:44 -0500 |
commit | da95bc1be774413448d894f4bd330555f251aec0 (patch) | |
tree | b67036c64fcbd45abe582d22431e9eb877a45015 /playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml | |
parent | eaa5e17d222229537a42b4bf17d2193d25fa67f8 (diff) | |
download | openshift-da95bc1be774413448d894f4bd330555f251aec0.tar.gz openshift-da95bc1be774413448d894f4bd330555f251aec0.tar.bz2 openshift-da95bc1be774413448d894f4bd330555f251aec0.tar.xz openshift-da95bc1be774413448d894f4bd330555f251aec0.zip |
Refactor common group evaluation to avoid duplication
Diffstat (limited to 'playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml')
-rw-r--r-- | playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml b/playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml deleted file mode 100644 index 36d7b7870..000000000 --- a/playbooks/common/openshift-cluster/set_master_launch_facts_tasks.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -- set_fact: k8s_type="master" - -- name: Generate master instance names(s) - set_fact: - scratch_name: "{{ cluster_id }}-{{ k8s_type }}-{{ '%05x' | format(1048576 | random) }}" - register: master_names_output - with_sequence: count={{ num_masters }} - -- set_fact: - master_names: "{{ master_names_output.results | default([]) - | oo_collect('ansible_facts') - | oo_collect('scratch_name') }}" |