@ -87,27 +87,24 @@
shell : locale-gen
shell : locale-gen
when : distro == "Debian"
when : distro == "Debian"
- name : Install prebuilt 'doas' binary on Debian
- name : Install prebuilt 'doas' binary
unarchive:
unarchive:
dest : /
dest : /
src : ../data/docker/doas-debian.tar.gz
src : ../data/docker/doas-debian.tar.gz
when : distro == "Debian"
- name : Make prebuilt 'doas' binary executable on Debian
- name : Make prebuilt 'doas' binary executable
file:
file:
path : /usr/local/bin/doas
path : /usr/local/bin/doas
mode : 'u=rwxs,go=rx'
mode : 'u=rwxs,go=rx'
owner : root
owner : root
group : root
group : root
when : distro == "Debian"
- name : Install doas.conf on Debian
- name : Install doas.conf
copy:
copy:
dest : /etc/doas.conf
dest : /etc/doas.conf
content : |
content : |
permit :mitogen__group
permit :mitogen__group
permit :root
permit :root
when : distro == "Debian"
- name : Vanilla Ansible needs simplejson on CentOS 5.
- name : Vanilla Ansible needs simplejson on CentOS 5.
shell : mkdir -p /usr/lib/python2.4/site-packages/simplejson/
shell : mkdir -p /usr/lib/python2.4/site-packages/simplejson/