diff --git a/scripts/quickstart/multinode-playbook.yml b/scripts/quickstart/multinode-playbook.yml index 077531918..2f21e5346 100644 --- a/scripts/quickstart/multinode-playbook.yml +++ b/scripts/quickstart/multinode-playbook.yml @@ -11,10 +11,6 @@ roles: - tripleo-inventory -- include: build-install-playbook.yml - tags: - - build - - name: Create configs on subnodes hosts: overcloud roles: @@ -40,6 +36,26 @@ WORKSPACE: "{{ lookup('env','WORKSPACE') }}" SSH_OPTIONS: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=Verbose -o PasswordAuthentication=no -o ConnectionAttempts=32 -l jenkins" +- name: Run DLRN gate role and install repo + hosts: undercloud + vars: + artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz" + artg_repos_dir: "{{ tripleo_root }}" + roles: + - build-test-packages + - { role: install-built-repo, when: compressed_gating_repo is defined } + tags: + - build + +- name: Install built packages on subnodes + hosts: overcloud + vars: + ib_repo_host: undercloud + roles: + - { role: install-built-repo, when: "hostvars['undercloud']['compressed_gating_repo'] is defined" } + tags: + - build + - name: Install the undercloud hosts: undercloud roles: diff --git a/toci-quickstart/playbooks/multinode.yml b/toci-quickstart/playbooks/multinode.yml index 077531918..2f21e5346 100644 --- a/toci-quickstart/playbooks/multinode.yml +++ b/toci-quickstart/playbooks/multinode.yml @@ -11,10 +11,6 @@ roles: - tripleo-inventory -- include: build-install-playbook.yml - tags: - - build - - name: Create configs on subnodes hosts: overcloud roles: @@ -40,6 +36,26 @@ WORKSPACE: "{{ lookup('env','WORKSPACE') }}" SSH_OPTIONS: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=Verbose -o PasswordAuthentication=no -o ConnectionAttempts=32 -l jenkins" +- name: Run DLRN gate role and install repo + hosts: undercloud + vars: + artg_compressed_gating_repo: "${HOME}/gating_repo.tar.gz" + artg_repos_dir: "{{ tripleo_root }}" + roles: + - build-test-packages + - { role: install-built-repo, when: compressed_gating_repo is defined } + tags: + - build + +- name: Install built packages on subnodes + hosts: overcloud + vars: + ib_repo_host: undercloud + roles: + - { role: install-built-repo, when: "hostvars['undercloud']['compressed_gating_repo'] is defined" } + tags: + - build + - name: Install the undercloud hosts: undercloud roles: