Manoj Katari 732c126000 Rotate ansible.log during ceph deploy
'overcloud ceph deploy' logs are redirected to /home/stack/ansible.log.
Before python-tripleo-client runs cephadm playbook, check if the log
file ansible.log exists (from a previous run). If it does, then rename it
to append a timestamp. When cephadm is run,a new log will be created.

A new parameter 'rotate_log=False' is added to run_ansible_playbook function
which can be enabled for any other operations to perform log rotation.

Change-Id: I13bf6c6377ac049054c22d0b8a0e005366c44b7f
Resolves: rhbz#2149339
(cherry picked from commit 6e7c8c35aa)
2023-01-10 13:07:38 +00:00
.. Prepare tripleoclient for v2 implementations of the commands 2020-01-27 13:18:52 +00:00 Rotate ansible.log during ceph deploy 2023-01-10 13:07:38 +00:00 Don't try stack delete with overcloud delete 2022-10-13 10:47:06 +05:30 Dynamic defaults for roles, networks, vips and bm 2021-09-07 13:11:21 +02:00 Stop using heat-admin as ansible_ssh_user 2022-07-14 11:33:54 +00:00 Add stack_name support to ANSIBLE_INVENTORY 2020-04-29 17:29:33 -05:00 Set working cs9 defaults for image build 2022-08-22 10:46:26 +12:00