diff --git a/defaults/main.yml b/defaults/main.yml index c29af9be..d6e837fd 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -19,6 +19,9 @@ debug: False verbose: True +# Update source +update_src: True + # Name of the virtual env to deploy into ironic_venv_tag: untagged ironic_venv_bin: "/openstack/venvs/ironic-{{ ironic_venv_tag }}/bin" diff --git a/tasks/ironic_get_source.yml b/tasks/ironic_get_source.yml index 8109a517..5c45a3bd 100644 --- a/tasks/ironic_get_source.yml +++ b/tasks/ironic_get_source.yml @@ -17,7 +17,7 @@ git: repo=https://github.com/openstack/ironic.git dest={{ ironic_git_dest }} version={{ ironic_git_install_branch }} - update=no + update={{ update_src }} register: ironic_checkout tags: - ironic-api @@ -27,7 +27,7 @@ git: repo=https://github.com/openstack/python-ironicclient.git dest={{ python_ironicclient_git_dest }} version={{ python_ironicclient_git_install_branch }} - update=no + update={{ update_src }} register: python_ironicclient_checkout tags: - ironic-client