blob: 5ae25974f5a922d7958e70a360daf82d6026cc1c (
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' user
user: name=_lacme 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
|