tests: install OpenBSD doas port in Debian image.

To allow fancy new improved doas_test.
pull/607/head
David Wilson 6 years ago
parent de9a8b2a80
commit d8dc5420ce

@ -0,0 +1,7 @@
# doas-debian.tar.gz
A dynamically linked copy of the OpenBSD ``doas`` tool for Debian, port is from
https://github.com/multiplexd/doas (the slicer69 port is broken, it reads the
password from stdin).

@ -79,6 +79,25 @@
- shell: locale-gen
when: distro == "Debian"
- unarchive:
dest: /
src: ../data/docker/doas-debian.tar.gz
when: distro == "Debian"
- file:
path: /usr/local/bin/doas
mode: 'u=rwxs,go=rx'
owner: root
group: root
when: distro == "Debian"
- copy:
dest: /etc/doas.conf
content: |
permit :mitogen__group
permit :root
when: distro == "Debian"
# Vanilla Ansible needs simplejson on CentOS 5.
- shell: mkdir -p /usr/lib/python2.4/site-packages/simplejson/
when: distro == "CentOS" and ver == "5"

Loading…
Cancel
Save