Skip to content

Commit

Permalink
Merge pull request #34 from ait-aecid/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
whotwagner authored Oct 30, 2024
2 parents e7756ef + 57fc846 commit 266cef6
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 45 deletions.
6 changes: 0 additions & 6 deletions tasks/RedHat.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
- name: Install python3-cerberus
pip:
name: cerberus
executable: pip3
state: latest

- name: pip self-update
pip:
name: pip
Expand Down
6 changes: 0 additions & 6 deletions tasks/debian-buster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@
executable: pip3
state: latest

- name: Install python3-cerberus
pip:
name: cerberus
executable: pip3
state: latest

- name: Install python3-kafka
pip:
name: kafka-python
Expand Down
41 changes: 21 additions & 20 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,13 @@
state: latest
extra_args: "{{pip_extra_args}}"

- name: Install python3-cerberus
pip:
name: cerberus
executable: pip3
state: latest
extra_args: "{{pip_extra_args}}"

- name: Find zmq
find:
paths: "{{aminer_pythonpath}}"
Expand All @@ -164,6 +171,13 @@
file_type: "directory"
register: pyzmqlibs

- name: Find cerberus
find:
paths: "{{aminer_pythonpath}}"
patterns: 'cerberus'
file_type: "directory"
register: cerberus

- name: Link zmq
file:
src: "{{ item.path }}"
Expand All @@ -178,6 +192,13 @@
state: link
with_items: "{{pyzmqlibs.files }}"

- name: Link cerberus
file:
src: "{{ item.path }}"
dest: "/etc/aminer/conf-enabled/{{item.path.split('/')[-1]}}"
state: link
with_items: "{{cerberus.files }}"

- name: Find json.cpython
find:
paths: "{{aminer_pythonpath}}"
Expand Down Expand Up @@ -220,20 +241,6 @@
state: link
with_items: "{{scipy.files }}"

- name: Find cerberus
find:
paths: "{{aminer_pythonpath}}"
patterns: 'cerberus'
file_type: "directory"
register: cerberus

- name: Link cerberus
file:
src: "{{ item.path }}"
dest: "/etc/aminer/conf-enabled/{{item.path.split('/')[-1]}}"
state: link
with_items: "{{cerberus.files }}"

- name: Find kafka
find:
paths: "{{aminer_pythonpath}}"
Expand Down Expand Up @@ -262,12 +269,6 @@
state: link
with_items: "{{numpy.files }}"

- name: Link python3-pkg_resources
file:
src: "{{aminer_pythonpath[0]}}/pkg_resources"
dest: "/etc/aminer/conf-enabled/pkg_resources"
state: link

- name: Link yaml
file:
src: "{{aminer_pythonpath[0]}}/yaml"
Expand Down
2 changes: 0 additions & 2 deletions vars/RedHat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-pytz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-urllib3
- python3-defusedxml
- python3-yaml
Expand Down
2 changes: 0 additions & 2 deletions vars/debian-bookworm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-tz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-kafka
- python3-urllib3
- python3-statsmodels
Expand Down
2 changes: 0 additions & 2 deletions vars/debian-bullseye.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-tz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-kafka
- python3-urllib3
- python3-statsmodels
Expand Down
1 change: 0 additions & 1 deletion vars/debian-buster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ aminer_packages:
- python3-tz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
Expand Down
2 changes: 0 additions & 2 deletions vars/fedora.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-pytz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-kafka
- python3-urllib3
- python3-statsmodels
Expand Down
2 changes: 0 additions & 2 deletions vars/ubuntu-2004.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-tz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-kafka
- python3-urllib3
- python3-statsmodels
Expand Down
2 changes: 0 additions & 2 deletions vars/ubuntu-2204.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ aminer_packages:
- python3-tz
- python3-scipy
- python3-numpy
- python3-pkg-resources
- python3-setuptools
- python3-dateutil
- python3-six
- python3-cerberus
- python3-kafka
- python3-urllib3
- python3-statsmodels
Expand Down

0 comments on commit 266cef6

Please sign in to comment.