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:
@@ -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 }}"
|
||||
|
||||
Reference in New Issue
Block a user