Compare commits

...
2 Commits
Author SHA1 Message Date
Karenzz df0470b639 Deleted the missing package check 2023-06-09 15:09:29 -04:00
Karenzz 682906a7e4 Added more packages 2023-06-09 15:08:30 -04:00
2 changed files with 7 additions and 12 deletions
-12
View File
@@ -41,15 +41,3 @@
ansible.builtin.pip:
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 }}"
+7
View File
@@ -1,4 +1,5 @@
google.cloud.pubsub
google.api_core.exceptions
plotly
pandas
numpy
@@ -6,3 +7,9 @@ h5py
selenium
sqlalchemy
flask
sys
ntplib
arrow
h5py