blob: 9ff88c2ce116508ed9d5c34ab66d3c36424d45d7 (
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 a user 'lacme'
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
|