Do not copy default-modules to MBS backend, but import it from files directly.
This commit is contained in:
parent
c212c43cba
commit
23f6b3b6b9
2 changed files with 1 additions and 14 deletions
|
@ -81,21 +81,8 @@
|
|||
- mbs
|
||||
- mbs/common
|
||||
|
||||
- name: create /etc/module-build-service/default-modules directory
|
||||
file:
|
||||
path: /etc/module-build-service/default-modules
|
||||
state: directory
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0775
|
||||
|
||||
- name: copy default modules to /etc/module-build-service/default-modules
|
||||
copy: src={{ item.src }}.{{ env }} dest={{ item.dest }}/{{ item.src }}
|
||||
with_items:
|
||||
- { src: 'platform-f28.yaml', dest: '/etc/module-build-service/default-modules' }
|
||||
|
||||
- name: import default-modules
|
||||
command: /usr/bin/mbs-manager import_module {{ item }}
|
||||
with_fileglob:
|
||||
- /etc/module-build-service/default-modules/*.yaml
|
||||
- default-modules.{{ env }}/*.yaml
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue