Skip to content

Commit

Permalink
Add pip package install flags
Browse files Browse the repository at this point in the history
  • Loading branch information
teddyphreak committed Mar 14, 2024
1 parent 0a539c6 commit cdf1c6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions defaults/main/params.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
---
postgresql_release: 16
postgresql_pip_state: present
postgresql_pip_manage: true
postgresql_package_state: present
postgresql_service_state: started
postgresql_service_enabled: true
Expand Down
2 changes: 2 additions & 0 deletions tasks/install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
- name: Install required pips
ansible.builtin.pip:
name: psycopg2-binary
state: "{{ postgresql_pip_state }}"
when: postgresql_pip_manage

- name: Release package holds
ansible.builtin.include_tasks: lock.yml
Expand Down

0 comments on commit cdf1c6e

Please sign in to comment.