blob: 36e534debcca95c4ca4e88ed9f6d42222c1b12c3 (
plain)
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
|
- name: Install lacme
apt: pkg={{ packages }} install_recommends=no
vars:
packages:
- liblwp-protocol-https-perl
- lacme
- name: Create '_lacme-client' user
user: name=_lacme-client system=yes
group=nogroup
createhome=no
home=/nonexistent
shell=/usr/sbin/nologin
password=*
state=present
- name: Copy lacme/lacme-certs.conf
copy: src=etc/lacme/lacme.conf
dest=/etc/lacme/lacme.conf
owner=root group=root
mode=0644
- name: Copy lacme/lacme-certs.conf
template: src=etc/lacme/lacme-certs.conf.j2
dest=/etc/lacme/lacme-certs.conf
owner=root group=root
mode=0644
|