bifrost/playbooks/roles/bifrost-download-packages
Dmitry Tantsur b3818dc77c Do not install grub2 and shim on the host system
At least on the CI nodes it causes issues with grub-pc on Debian since
the CI nodes don't have bootloader configured. Download and extract
packages instead.

To account for Kolla (which has a split between the install and the
bootstrap phases), the downloaded files are cached in /use/lib/ironic.

Change-Id: I9307366db9579b194dcb88818ed0ce2fedb4baaf
2022-09-16 17:58:01 +02:00
..
tasks Do not install grub2 and shim on the host system 2022-09-16 17:58:01 +02:00
README.md Do not install grub2 and shim on the host system 2022-09-16 17:58:01 +02:00

bifrost-download-packages

This role downloads RPM or DEB packages in extracts them on the target system.

Role Variables

download_packages: A list (not a string!) of packages to download.

download_dest: Destination directory (must exist). Each package is downloaded into a subdirectory with the same name.

Dependencies

None at this time.

Example Playbook

- hosts: localhost
  connection: local
  become: yes
  gather_facts: yes
  roles:
    - role: bifrost-download-packages
      download_packages:
        - python3
      download_dest: /tmp

License

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author Information

Ironic Developers