16 lines
305 B
YAML
16 lines
305 B
YAML
|
---
|
||
|
|
||
|
- name: Install packages
|
||
|
package: name={{ ldap2pg_packages }}
|
||
|
tags: pg
|
||
|
|
||
|
- name: Install systemd unit
|
||
|
template: src=ldap2pg.{{ item }}.j2 dest=/etc/systemd/system/ldap2pg.{{ item }}
|
||
|
loop:
|
||
|
- service
|
||
|
- timer
|
||
|
notify:
|
||
|
- restart ldap2pg.service
|
||
|
- restart ldap2pg.timer
|
||
|
tags: pg
|