File tree Expand file tree Collapse file tree
remote-desktop-provisioning Expand file tree Collapse file tree Original file line number Diff line number Diff line change 172172 # by Ansible via ssh from localhost. It'll be removed after successful start if not requested by the user!
173173 instance_has_fip = true
174174
175+ {% if hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] is not none %}
175176 os_volume = {{ hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] | to_json }}
177+ {% endif %}
176178
177179 tags = {
178180 provisioning-tool = "terraform"
244246 ansible_host : " {{ remote_host_public_ip_fact }}"
245247 ansible_user : " {{ 'ubuntu' if image_name | lower | regex_search('^ubuntu') else 'cloud-user' }}"
246248 ansible_ssh_private_key_file : " {{ hostvars['localhost']['private_keypair_path_fact'] }}"
247- ansible_ssh_common_args : " -o StrictHostKeyChecking=accept-new "
249+ ansible_ssh_common_args : " -o StrictHostKeyChecking=no "
248250
249251- name : Install IPA client and enroll into an IPA server's LDAP/DNS services
250252 hosts : ipa_client
Original file line number Diff line number Diff line change 176176 # by Ansible via ssh from localhost. It'll be removed after successful start!
177177 instance_has_fip = true
178178
179+ {% if hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] is not none %}
179180 os_volume = {{ hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] | to_json }}
181+ {% endif %}
180182
181183 tags = {
182184 provisioning-tool = "terraform"
Original file line number Diff line number Diff line change 155155 # by Ansible via ssh from localhost. It'll be removed after successful start!
156156 instance_has_fip = true
157157
158+ {% if hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] is not none %}
158159 os_volume = {{ hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] | to_json }}
160+ {% endif %}
159161
160162 tags = {
161163 provisioning-tool = "terraform"
228230 ansible_host : " {{ remote_host_public_ip_fact }}"
229231 ansible_user : " cloud-user"
230232 ansible_ssh_private_key_file : " {{ hostvars['localhost']['private_keypair_path_fact'] }}"
231- ansible_ssh_common_args : " -o StrictHostKeyChecking=accept-new "
233+ ansible_ssh_common_args : " -o StrictHostKeyChecking=no "
232234
233235- name : Configure Remote Desktop server
234236 hosts : remote_desktop
Original file line number Diff line number Diff line change 149149 # by Ansible via ssh from localhost. It'll be removed after successful start!
150150 instance_has_fip = true
151151
152+ {% if hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] is not none %}
152153 os_volume = {{ hostvars['localhost']['ewc_tf_module_openstack_compute']['os_volume'] | to_json }}
154+ {% endif %}
153155
154156 tags = {
155157 provisioning-tool = "terraform"
222224 ansible_host : " {{ remote_host_public_ip_fact }}"
223225 ansible_user : " cloud-user"
224226 ansible_ssh_private_key_file : " {{ hostvars['localhost']['private_keypair_path_fact'] }}"
225- ansible_ssh_common_args : " -o StrictHostKeyChecking=accept-new "
227+ ansible_ssh_common_args : " -o StrictHostKeyChecking=no "
226228
227229- name : Configure SSH bastion server
228230 hosts : " ssh_bastion"
You can’t perform that action at this time.
0 commit comments