We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f05355 commit 1f74f0eCopy full SHA for 1f74f0e
tasks/main.yml
@@ -41,11 +41,6 @@
41
cluster_group: "{{ stack_output.stdout | from_json }}"
42
when: cluster_state == 'query'
43
44
-- name: Reset the python interpreter
45
- set_fact:
46
- ansible_python_interpreter: "{{ old_python_interpreter }}"
47
- when: cluster_venv != None
48
-
49
- block:
50
- name: Extract server ids from cluster group output
51
set_fact:
@@ -130,3 +125,9 @@
130
125
delegate_to: "{{ cluster_gw_ip | default('localhost') }}"
131
126
132
127
when: cluster_state in ['present', 'query']
128
+
129
+- name: Reset the python interpreter
+ set_fact:
+ ansible_python_interpreter: "{{ old_python_interpreter }}"
+ when: cluster_venv != None
133
0 commit comments