Skip to content
Snippets Groups Projects
Commit 48fe4214 authored by Simone Spinelli's avatar Simone Spinelli
Browse files

Fixed/reworked playbooks, removed dev_networks role - deploy_gap_repos seems to work fine.

parent 9bf3b599
No related branches found
No related tags found
No related merge requests found
- name: Sanity check - name: Sanity check
hosts: dev_environments hosts: dev_environments
tasks:
- name: Ping them
ansible.builtin.ping:
- name: Show something
ansible.builtin.debug:
msg: blah blah
- name: System Setup - name: System Setup
hosts: dev_environments hosts: dev_environments
...@@ -14,7 +8,6 @@ ...@@ -14,7 +8,6 @@
- kvm - kvm
- containerlab - containerlab
- dev_images - dev_images
- name: System Setup - name: System Setup
hosts: dev_environments hosts: dev_environments
roles: roles:
......
configure
set interfaces ge-0/0/0 unit 0 family inet address 192.168.1.2/24
set interfaces ge-0/0/1 unit 1 family inet address 192.168.1.3/24
set interfaces ge-0/0/2 unit 2 family inet address 192.168.1.4/24
commit
\ No newline at end of file
configure
set interfaces ge-0/0/0 unit 0 family inet address 192.168.2.2/24
set interfaces ge-0/0/1 unit 1 family inet address 192.168.2.3/24
set interfaces ge-0/0/2 unit 2 family inet address 192.168.2.4/24
commit
\ No newline at end of file
name: vr-vmx
topology:
kinds:
vr-vmx:
image: vrnetlab/vr-vmx:18.2R1.9
nodes:
vmx1:
kind: vr-vmx
startup-config: vmx1.cfg
vmx2:
kind: vr-vmx
startup-config: vmx2.cfg
links:
- endpoints: ["vmx1:eth1", "vmx2:eth1"]
- name: Copy lab01 project to remote
ansible.builtin.copy:
src: lab01
dest: $HOME
directory_mode: '0755'
mode: '0644'
name: ceosx2
topology:
nodes:
ceos1:
kind: ceos
image: ceos:4.28.1.1F
ceos2:
kind: ceos
image: ceos:4.28.1.1F
links:
- endpoints: ["ceos1:eth1", "ceos2:eth1"]
name: srlceos01
topology:
nodes:
srl:
kind: srl
image: ghcr.io/nokia/srlinux
ceos:
kind: srl
image: ghcr.io/nokia/srlinux
links:
- endpoints: ["srl:e1-1", "ceos:e1-1"]
...@@ -26,12 +26,12 @@ ...@@ -26,12 +26,12 @@
delegate_to: localhost delegate_to: localhost
become_user: "{{ local_username.stdout }}" become_user: "{{ local_username.stdout }}"
- name: Copy GAP on the target - name: Copy GAP Ansible on the target
ansible.builtin.copy: ansible.builtin.copy:
src: /var/tmp/gap_ansible src: /var/tmp/gap_ansible
dest: ~/gap_ansible dest: ~/gap_reference_topolog/gap_ansible
- name: Copy GAP on the target - name: Copy GAP Refernece topoloy on the target
ansible.builtin.copy: ansible.builtin.copy:
src: /var/tmp/gap_reference_topology src: /var/tmp/gap_reference_topology
dest: ~/gap_reference_topology dest: ~/
...@@ -7,3 +7,4 @@ ...@@ -7,3 +7,4 @@
- virtinst - virtinst
- libvirt-clients - libvirt-clients
- bridge-utils - bridge-utils
update_cache: true
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment