Skip to content

Commit

Permalink
Merge pull request #526 from asyedham/undercloud
Browse files Browse the repository at this point in the history
capture the time for undercloud install
  • Loading branch information
sanjaychari authored Dec 22, 2022
2 parents 74299b4 + 214de30 commit e05bed9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion undercloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@
container_params: "--registry-mirror {{ registry_mirror }} --registry-namespace {{ registry_namespace }}"
when: osp_release|int > 13

- name: append time prefix to undercloud deploy script
lineinfile:
dest: ~/.infrared/plugins/tripleo-undercloud/templates/undercloud_deploy.sh.j2
regexp: 'openstack undercloud'
line: '(time openstack undercloud install) &> undercloud_install.log'

- name: run tripleo-undercloud
shell: |
source {{ infrared_dir }}/.venv/bin/activate
Expand Down Expand Up @@ -99,6 +105,6 @@

- name: Update the undercloud for TLS-Everywhere
shell:
time openstack undercloud install 2>&1 | tee undercloud_install_tls_e.log
(time openstack undercloud install) &> undercloud_install_tls_e.log
when: tls_everywhere == true
delegate_to: undercloud

0 comments on commit e05bed9

Please sign in to comment.