-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexecution-environment.yml
39 lines (33 loc) · 1003 Bytes
/
execution-environment.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
---
version: 3
images:
base_image:
name: registry.fedoraproject.org/fedora:38
dependencies:
ansible_core:
package_pip: ansible-core==2.16.7
ansible_runner:
package_pip: ansible-runner==2.4.0
galaxy: requirements.yml
python: requirements.txt
system:
- iputils
- openssh-clients
- python3
- python3-pip
- python3-virtualenv
- sshpass
additional_build_files:
- src: ansible.cfg
dest: configs
additional_build_steps:
prepend_galaxy:
- COPY _build/configs/ansible.cfg /etc/ansible/ansible.cfg
append_final:
# Install sops
- RUN curl -LO https://github.com/getsops/sops/releases/download/v3.8.1/sops-v3.8.1.linux.amd64
- RUN chmod +x sops-v3.8.1.linux.amd64
- RUN mv sops-v3.8.1.linux.amd64 /usr/local/bin/sops
# Image metadata
- LABEL org.opencontainers.image.description="Ansible Runner container for homelab automation"
- LABEL org.opencontainers.image.source=https://github.com/marcolongol/homelab-automation