blob: 9d94cab7f1c70b236ab2ceafb0d853a6e664f1fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
---
- name: Build a fedora cloud image suitable for Zuul
hosts: localhost
vars:
image_url: https://download.fedoraproject.org/pub/fedora/linux/releases/30/Cloud/x86_64/images/Fedora-Cloud-Base-30-1.2.x86_64.qcow2
image_checksum: "sha256:72b6ae7b4ed09a4dccd6e966e1b3ac69bd97da419de9760b410e837ba00b4e26"
image: Fedora-Cloud-Base-30-1.2.x86_64.qcow2
extra_packages:
# Extra system tools
- pigz
- bridge-utils
- wget
- unzip
# Basic CI tools
- make
- gcc
- patch
# RPM building tools
- redhat-lsb-core
- redhat-rpm-config
- rpm-build
- rpm-sign
- rpmlint
- createrepo
- gnupg2
- expect
# Devel libraries
- libffi-devel
- libpcap-devel
- libseccomp-devel
- libxml2-devel
- libxslt-devel
- mariadb-devel
- openldap-devel
- openssl-devel
- python2-devel
- python3-devel
- readline-devel
- ruby-devel
- systemd-devel
- zlib-devel
# Python
- PyYAML
- python-virtualenv
- python-six
# For add-build-sshkey
- python-libselinux
tasks:
- block:
- import_role:
name: base
- import_role:
name: sshd-config
- import_role:
name: network-config
- import_role:
name: zuul-user
- import_role:
name: base-install-packages
- import_role:
name: base-customize
- import_role:
name: base-finalize
always:
- import_role:
name: base-cleanup
|