Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible ContainerLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
GÉANT Orchestration and Automation Team
Development Playbooks
Ansible ContainerLab
Merge requests
!1
Gap repos
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Gap repos
gap_repos
into
main
Overview
0
Commits
2
Pipelines
0
Changes
4
Merged
Simone Spinelli
requested to merge
gap_repos
into
main
2 years ago
Overview
0
Commits
2
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
main
main (base)
and
latest version
latest version
71dec394
2 commits,
2 years ago
4 files
+
65
−
2
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
roles/gap_repos/tasks/main.yml
0 → 100644
+
37
−
0
Options
---
# tasks file for gap_repos
#
#- name: Git clone GAP test inventory
# shell: "git clone git@gitlab.geant.org:nat/gap_test_inventory.git /var/tmp/inventory"
# delegate_to: localhost
-
name
:
Get the username running the deploy
become
:
false
local_action
:
command whoami
register
:
local_username
-
name
:
Git checkout GAP Ansible repo
ansible.builtin.git
:
repo
:
git@gitlab.geant.org:nat/uat_environment/lab_network_ansible.git
dest
:
/var/tmp/gap_ansible
#version: release-0.22
delegate_to
:
localhost
become_user
:
"
{{
local_username.stdout
}}"
-
name
:
Git checkout GAP reference topology
ansible.builtin.git
:
repo
:
git@gitlab.geant.org:nat/cl-topologies/reference_topology.git
dest
:
/var/tmp/gap_reference_topology
clone
:
yes
#version: release-0.22
delegate_to
:
localhost
become_user
:
"
{{
local_username.stdout
}}"
-
name
:
Copy GAP on the target
ansible.builtin.copy
:
src
:
/var/tmp/gap_ansible
dest
:
~/gap_ansible
-
name
:
Copy GAP on the target
ansible.builtin.copy
:
src
:
/var/tmp/gap_reference_topology
dest
:
~/gap_reference_topology
Loading