File tree 3 files changed +23
-0
lines changed
molecule/ssh_hardening_bsd 3 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 1
1
---
2
+ - name : Prepare OpenBSD host
3
+ hosts : all
4
+ become : true
5
+ gather_facts : false
6
+ tasks :
7
+ - name : Use Python 3 on OpenBSD
8
+ ansible.builtin.set_fact :
9
+ ansible_python_interpreter : /usr/bin/python3
10
+ changed_when : false
11
+ when : lookup('env', 'MOLECULE_DISTRO') == 'openbsd7'
12
+
2
13
- name : Wrapper playbook for kitchen testing "ansible-ssh-hardening" with default settings
3
14
hosts : all
4
15
environment :
Original file line number Diff line number Diff line change 9
9
ansible.builtin.raw : pkg_add python%3.10
10
10
changed_when : false
11
11
when : lookup('env', 'MOLECULE_DISTRO') == 'openbsd7'
12
+
13
+ - name : Use Python 3 on OpenBSD
14
+ ansible.builtin.set_fact :
15
+ ansible_python_interpreter : /usr/bin/python3
16
+ changed_when : false
17
+ when : lookup('env', 'MOLECULE_DISTRO') == 'openbsd7'
12
18
13
19
- name : Wrapper playbook for kitchen testing "ansible-ssh-hardening" with default settings
14
20
hosts : all
Original file line number Diff line number Diff line change 3
3
hosts : all
4
4
become : true
5
5
tasks :
6
+ - name : Use Python 3 on OpenBSD
7
+ ansible.builtin.set_fact :
8
+ ansible_python_interpreter : /usr/bin/python3
9
+ changed_when : false
10
+ when : lookup('env', 'MOLECULE_DISTRO') == 'openbsd7'
11
+
6
12
- name : Use the type command instead of which to detect existing commands
7
13
ansible.builtin.file :
8
14
src : /usr/bin/which
You can’t perform that action at this time.
0 commit comments