summaryrefslogtreecommitdiffstats
path: root/playbooks/roles/bootstrap/tasks/main.yaml
blob: 1ce4d159d7bc13b1436bd2f2fe0688a0df0ea871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---

# SPDX-FileCopyrightText: 2021 Ericsson AB and others
#
# SPDX-License-Identifier: Apache-2.0

# collected PDF and IDF are copied into group_vars
# folder in order to ensure we have single PDF and IDF
- name: Copy collected PDF and IDF to group_vars
  copy:
    src: "{{ item.src }}"
    dest: "{{ item.dest }}"
    force: true
    mode: 0644
  with_items:
    - {src: "{{ kuberef_root }}/hw_config/{{ lookup('env', 'VENDOR') }}/pdf.yaml", dest: "{{ inventory_path }}/group_vars/all/pdf.yaml"}
    - {src: "{{ kuberef_root }}/hw_config/{{ lookup('env', 'VENDOR') }}/idf.yaml", dest: "{{ inventory_path }}/group_vars/all/idf.yaml"}