Add implicit --yes to tripleo_ceph_user disable role

The command 'openstack overcloud ceph user disable'
will always fail unless '--yes' is passed. This is
meant to be an interactive command-line option but
that does not apply when Ansible is non-interactive.
Always run disable with --yes otherwise, this option
in the role is useless.

Change-Id: I6434d03d93bc50574246e26fab483ff75ffabace
This commit is contained in:
John Fulton 2022-03-28 17:20:36 -04:00
parent a0036eab3f
commit 9b63299bed
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
set_fact:
_deploy_cmd: >-
{{ openstack_bin }} overcloud ceph user
{{ tripleo_ceph_user_enable | ternary('enable', 'disable') }}
{{ tripleo_ceph_user_enable | ternary('enable', 'disable --yes') }}
{{ tripleo_ceph_user_spec }}
{{ tripleo_ceph_user_fsid | ternary('--fsid $FSID', '') }}
{{ tripleo_ceph_user_standalone | ternary('--standalone', '') }}