add support for new ansible without apt and with_items, add monitoring

This commit is contained in:
nd 2018-11-13 01:11:59 +01:00
parent 4a280c06d1
commit 65c4b48071
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
3 changed files with 10 additions and 4 deletions

View file

@ -1,11 +1,10 @@
- name: install postgres
apt:
pkg: "{{ item }}"
state: latest
update_cache: yes
with_items:
pkg:
- postgresql
- python-psycopg2
state: latest
update_cache: yes
- name: generate pg_hba
template: