Add support for --limit option into ceph-ansible call
This will be useful when executing playbooks which can't run against
all nodes. For example the newly introduced docker-to-podman playbook
meant to migrate systemd units from docker to podman for compatibility
with newer CentOS versions.
Change-Id: I4538d64ed49b4a6e4670d1e1d050fc5443e2edb0
(cherry picked from commit bd6975a273
)
This commit is contained in:
parent
3cfe52a05f
commit
0764fc8f17
|
@ -46,6 +46,7 @@
|
|||
- '{{ playbook_dir }}/ceph-ansible/inventory.yml'
|
||||
- '--extra-vars'
|
||||
- '@{{ playbook_dir }}/ceph-ansible/extra_vars.yml'
|
||||
- '{% if ceph_ansible_limit is defined and ceph_ansible_limit|length > 0 %}--limit {{ ceph_ansible_limit }}{% endif %}'
|
||||
|
||||
- name: save ceph-ansible playbook command(s) to shell script
|
||||
copy:
|
||||
|
|
Loading…
Reference in New Issue