Skip to content

Commit ca17c66

Browse files
authored
Merge pull request #828 from dev-sec/readd_openbsd
Change installation source for OpenBSD tests
2 parents 7d8e792 + c2712fc commit ca17c66

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ssh_hardening_bsd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
molecule_distro:
39-
# - openbsd7 # disabled because of outdated image, see https://github.com/lavabit/robox/issues/305
39+
- openbsd7
4040
- freebsd13
4141
- freebsd14
4242
steps:

molecule/ssh_hardening_bsd/prepare.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44
become: true
55
gather_facts: false
66
tasks:
7+
- name: Change installation source
8+
# temporary fix for https://github.com/lavabit/robox/issues/305
9+
ansible.builtin.raw: echo "https://ftp.eu.openbsd.org/pub/OpenBSD" > /etc/installurl
10+
changed_when: false
11+
when: lookup('env', 'MOLECULE_DISTRO') == 'openbsd7'
12+
713
- name: Install python
814
# BSDs are special for Ansible - https://docs.ansible.com/ansible/latest/os_guide/intro_bsd.html
915
ansible.builtin.raw: pkg_add python%3.10

0 commit comments

Comments
 (0)