Compare commits
2
Commits
d2bcc50064
...
df0470b639
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df0470b639 | ||
|
|
682906a7e4 |
@@ -41,15 +41,3 @@
|
|||||||
ansible.builtin.pip:
|
ansible.builtin.pip:
|
||||||
requirements: /opt/pricer/requirements.txt
|
requirements: /opt/pricer/requirements.txt
|
||||||
|
|
||||||
- name: Check missing packages
|
|
||||||
command: "pip show {{ item }}"
|
|
||||||
register: pip_packages
|
|
||||||
changed_when: false
|
|
||||||
failed_when: "'WARNING: Package(s) not found' not in pip_packages.stderr"
|
|
||||||
loop: "{{ lookup('file', '/opt/pricer/requirements.txt').splitlines() }}"
|
|
||||||
|
|
||||||
- name: Install missing packages with apt
|
|
||||||
apt:
|
|
||||||
name: "{{ item }}"
|
|
||||||
state: present
|
|
||||||
loop: "{{ pip_packages.results | map(attribute='item') | list }}"
|
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
google.cloud.pubsub
|
google.cloud.pubsub
|
||||||
|
google.api_core.exceptions
|
||||||
plotly
|
plotly
|
||||||
pandas
|
pandas
|
||||||
numpy
|
numpy
|
||||||
@@ -6,3 +7,9 @@ h5py
|
|||||||
selenium
|
selenium
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
flask
|
flask
|
||||||
|
sys
|
||||||
|
ntplib
|
||||||
|
arrow
|
||||||
|
h5py
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user