-
Notifications
You must be signed in to change notification settings - Fork 2
/
common.yml
113 lines (107 loc) · 4.15 KB
/
common.yml
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
general:
edi_required_minimal_edi_version: 1.19.0
parameters:
ansible_pipelining: true
default_user_name: compulab
default_user_group_name: compulab
debian_distribution_release: trixie
ansible_python_interpreter: /usr/bin/python3
preprocessing_commands:
050_mmdebstrap:
path: preprocessing_commands/bootstrap/mmdebstrap.edi
output:
edi_bootstrapped_rootfs:
location: {{ edi_configuration_name }}_bootstrapped-rootfs.tar
type: path
playbooks:
100_os_setup:
path: playbooks/os_setup/main.yml
parameters:
create_default_user: True
# password is compulab
default_user_password: "$6$Q5KPSC2ZJpqbAGRs$scgK3qsHEiJx3UFvixEzGOkkS8wQ1aNti/jTB0etoxx81QWqKMmTABDD.GviPLD4gPhfq4dqYFvOWtOQ5kevn1"
install_openssh_server: True
disable_ssh_password_authentication: True
install_documentation: changelog
translations_filter: en_translations_only
base_system_sources_list_template: debian.list
document_build_setup: true
document_installed_packages: true
ssh_host_key_backup_folder: /data/backup/ssh
postprocessing_commands:
100_timestamp:
path: postprocessing_commands/timestamp/timestamp.edi
output:
pp_timestamp:
location: {{ edi_configuration_name }}_timestamp
type: path
200_buildah2rootfs:
path: postprocessing_commands/rootfs/buildah2rootfs.edi
output:
pp_rootfs_archive:
location: {{ edi_configuration_name }}_configured-rootfs.tar
type: path
300_rootfs2image:
path: postprocessing_commands/genimage/rootfs2image.edi
require_root: "fakeroot"
output:
pp_image:
location: {{ edi_configuration_name }}.img
type: path
pp_partition_image:
location: {{ edi_configuration_name }}_rootfs.ext4
type: path
parameters:
hostname: iot-gate-imx8
400_mender:
path: postprocessing_commands/mender/image2mender.edi
output:
pp_mender_artifact:
location: {{ edi_configuration_name }}.mender
type: path
500_documentation:
path: postprocessing_commands/documentation/write_doc.edi
output:
pp_documentation:
location: {{ edi_configuration_name }}_documentation
type: path
parameters:
author: The edi-cl Project Team
600_fully_named_artifacts:
path: postprocessing_commands/fully_named_artifacts/create_full_names.edi
output:
pp_fully_named_artifacts:
location: {{ edi_configuration_name }}_fully_named_artifacts
type: path
documentation_steps:
100_index:
path: documentation_steps/rst/templates/index.rst.j2
output:
file: index.rst
parameters:
edi_doc_include_packages: []
toctree_items: ['setup', 'versions', 'changelog']
200_setup:
path: documentation_steps/rst/templates/setup.rst.j2
output:
file: setup.rst
parameters:
edi_doc_include_packages: []
300_versions:
output:
file: versions.rst
path: documentation_steps/rst/templates/versions.rst.j2
400_changelog:
path: documentation_steps/rst/templates/changelog.rst.j2
output:
file: changelog.rst
parameters:
edi_doc_include_changelog: True
edi_doc_changelog_baseline: 2023-06-10 00:00:00 GMT
edi_doc_replacements:
- pattern: '(CVE-[0-9]{4}-[0-9]{4,6})'
replacement: '`\1 <https://cve.mitre.org/cgi-bin/cvename.cgi?name=\1>`_'
- pattern: '(?i)[#]*(Closes:\s[#])([0-9]{6,10})'
replacement: '`\1\2 <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=\2>`_'
- pattern: '(?i)[#]*(LP:\s[#])([0-9]{6,10})'
replacement: '`\1\2 <https://bugs.launchpad.net/ubuntu/+source/nano/+bug/\2>`_'