Feature/add edgeshark (#2)

* install_containerlab.yml + README
- Add edgeshark installation tasks

* install_containerlab.yml update
- Download Edgeshark

* Improving documentation
Create README for ANSIBLE and TERRAFORM folders

* Ansible : Update README

---------

Co-authored-by: Damien A <sepales.pret0h@icloud.com>
This commit is contained in:
Damien A
2024-04-12 15:49:10 +02:00
committed by GitHub
parent 48995c03b0
commit 079e139795
4 changed files with 219 additions and 3 deletions

View File

@@ -36,9 +36,11 @@
repo: deb https://download.docker.com/linux/ubuntu focal stable
state: present
- name: Update apt and install docker-ce
- name: Update apt and install docker
ansible.builtin.apt:
name: docker-ce
pkg:
- docker
- docker-compose
update_cache: true
- name: Add the current user to the docker group
@@ -97,6 +99,18 @@
shell: /bin/bash
become: true
- name: Ensure the /opt/edgeshark directory exists
ansible.builtin.file:
path: /opt/edgeshark
state: directory
mode: '0755'
- name: Download the edgeshark docker-compose.yaml file
ansible.builtin.get_url:
url: https://github.com/siemens/edgeshark/raw/main/deployments/wget/docker-compose.yaml
dest: "/opt/edgeshark/docker-compose.yaml"
mode: '0644'
- name: Clone specified GitHub repository to /opt/containerlab
ansible.builtin.git:
repo: "{{ repo_git_url }}"