Ensure ceph_ansible_playbook_verbosity is an integer

This patch is going directly into stable/wallaby because
this role was deprecated in that release and removed in
the next release.

Change-Id: I4554fc54c096be32b85d66030d8b2fc892e595bb
Closes-Bug: #1976122
This commit is contained in:
John Fulton 2022-05-27 15:42:59 -04:00
parent 11acd50048
commit 4f84847a8d
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
- ansible-playbook
- '{% if ceph_ansible_private_key_file is defined %}--private-key {{ ceph_ansible_private_key_file }}{% endif %}'
- '{% if ansible_python_interpreter is defined %}-e ansible_python_interpreter={{ ansible_python_interpreter }}{% endif %}'
- '-{%- for number in range(0, ceph_ansible_playbook_verbosity) -%}v{% endfor %}'
- '-{%- for number in range(0, ceph_ansible_playbook_verbosity|int) -%}v{% endfor %}'
- '{% if ceph_ansible_skip_tags is defined and ceph_ansible_skip_tags|length > 0%}--skip-tags {{ ceph_ansible_skip_tags }}{% endif %}'
- '--extra-vars'
- '@{{ playbook_dir }}/ceph-ansible/extra_vars.yml'