Skip to content

Commit

Permalink
install ripe-atlas-tools from ubuntu-provided deb
Browse files Browse the repository at this point in the history
  • Loading branch information
rodecker committed Jan 11, 2025
1 parent fb584eb commit c90d11b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 42 deletions.
46 changes: 6 additions & 40 deletions roles/ripe-atlas/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,44 +1,10 @@
- name: "Install deb prerequisites for ripe-atlas-tools"
apt:
name:
- libffi-dev
- libssl-dev
- virtualenv
state: present

- name: "Install deb prerequisites for ripe-atlas-tools"
apt:
name:
- python3-dev
- python3-virtualenv
- python3-pip
state: present

- name: "Install ripe-atlas-tools"
pip:
apt:
name:
- IPy
- pyOpenSSL
- ndg-httpsclient
- pyasn1
- 'git+https://github.com/RIPE-NCC/ripe-atlas-tools@latest#egg=ripe-atlas-tools'
state: present
virtualenv: "{{ ripe_atlas_venv_dir }}"
virtualenv_python: python3
- ripe-atlas-tools
- ripe-atlas-tools-doc

- name: "Create symlinks for ripe-atlas-tools"
- name: "Clean up old ripe-atlas virtualenv"
file:
state: link
force: true
src: "{{ ripe_atlas_venv_dir }}/bin/{{ item }}"
path: "/usr/local/bin/{{ item }}"
with_items:
- adig
- ahttp
- antp
- aping
- asslcert
- atraceroute
- ndg_httpclient
- ripe-atlas
- wsdump.py
path: /usr/share/ripe-atlas-venv
state: absent
2 changes: 0 additions & 2 deletions roles/ripe-atlas/vars/main.yml

This file was deleted.

0 comments on commit c90d11b

Please sign in to comment.