Initial commit
This commit is contained in:
4
roles/install_postgres/handlers/main.yml
Normal file
4
roles/install_postgres/handlers/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
- name: Upgrade packages
|
||||
community.general.pacman:
|
||||
upgrade: true
|
||||
12
roles/install_postgres/tasks/main.yml
Normal file
12
roles/install_postgres/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- name: Update packages
|
||||
community.general.pacman:
|
||||
update_cache: true
|
||||
- name: Install postgres
|
||||
community.general.pacman:
|
||||
pkg:
|
||||
- postgresql
|
||||
- python-psycopg2
|
||||
notify: Upgrade packages
|
||||
- name: Flush handlers
|
||||
ansible.builtin.meta: flush_handlers
|
||||
Reference in New Issue
Block a user