add support for new ansible without apt and with_items, add monitoring
This commit is contained in:
parent
4a280c06d1
commit
65c4b48071
3 changed files with 10 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue