spelling: temaplte -> template (#55665)

Correct a common mis-spelling of 'template' including in the return
value of the lib/ansible/modules/cloud/cloudstack/cs_template.py
module.
pull/55688/head
Lars Kellogg-Stedman 5 years ago committed by Martin Krizek
parent e77260a4fb
commit 35fdae7485

@ -299,7 +299,7 @@ class TaskExecutor:
loop_pause = templar.template(self._task.loop_control.pause)
extended = templar.template(self._task.loop_control.extended)
# This may be 'None',so it is tempalted below after we ensure a value and an item is assigned
# This may be 'None',so it is templated below after we ensure a value and an item is assigned
label = self._task.loop_control.label
# ensure we always have a label

@ -396,7 +396,7 @@ class AnsibleCloudStackTemplate(AnsibleCloudStack):
'templatetag': 'template_tag',
'sshkeyenabled': 'sshkey_enabled',
'passwordenabled': 'password_enabled',
'tempaltetype': 'template_type',
'templatetype': 'template_type',
'ostypename': 'os_type',
'crossZones': 'cross_zones',
'format': 'format',

@ -206,7 +206,7 @@
when: bare|bool
- name: assert that the bad nested conditional did run since non bare 'string' is untempalted but 'trueish'
- name: assert that the bad nested conditional did run since non bare 'string' is untemplated but 'trueish'
assert:
that:
- result is skipped

@ -9,11 +9,11 @@
- name: Get output template contents
slurp:
path: "{{ output_dir }}/vaulted_template.out"
register: vaulted_tempalte_out
register: vaulted_template_out
- debug:
msg: "{{ vaulted_tempalte_out.content|b64decode }}"
msg: "{{ vaulted_template_out.content|b64decode }}"
- assert:
that:
- vaulted_tempalte_out.content|b64decode == 'here_i_am\n'
- vaulted_template_out.content|b64decode == 'here_i_am\n'

Loading…
Cancel
Save