Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

Commit

Permalink
Allow to build multiple packages
Browse files Browse the repository at this point in the history
We have to do some cleanup before running a second package build - let's
reflect this need here.
  • Loading branch information
cjeanner committed May 13, 2020
1 parent 5dfd3b4 commit 68cabeb
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
5 changes: 0 additions & 5 deletions roles/undercloud/tasks/pkg-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@
path: "{{ build_dir }}/DLRN"
state: directory

- name: Ensure DLRN data subdirectory is present
file:
path: "{{ build_dir }}/DLRN/data"
state: directory

- name: Push projects config
template:
dest: "{{ build_dir }}/DLRN/projects.ini"
Expand Down
11 changes: 11 additions & 0 deletions roles/undercloud/tasks/rdo-project-build.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
---
- name: Clear DLRN data subdirectory is present
file:
path: "{{ build_dir }}/DLRN/data"
state: absent
force: true

- name: Ensure DLRN data subdirectory is present
file:
path: "{{ build_dir }}/DLRN/data"
state: directory

- name: Map RDO project names
register: mapped_name
shell:
Expand Down

0 comments on commit 68cabeb

Please sign in to comment.