Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GAP Ansible Collection
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
GAP
GAP Ansible Collection
Commits
82bbd7fd
Commit
82bbd7fd
authored
4 months ago
by
Aleksandr Kurbatov
Browse files
Options
Downloads
Patches
Plain Diff
l2circuit playbook cleanup
parent
484d73bd
No related branches found
No related tags found
1 merge request
!248
Feature/l2circuit create
Pipeline
#92998
failed
4 months ago
Stage: linting
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
geant/gap_ansible/playbooks/l2circuit.yaml
+0
-29
0 additions, 29 deletions
geant/gap_ansible/playbooks/l2circuit.yaml
with
0 additions
and
29 deletions
geant/gap_ansible/playbooks/l2circuit.yaml
+
0
−
29
View file @
82bbd7fd
...
...
@@ -2,21 +2,6 @@
hosts
:
all
gather_facts
:
false
tasks
:
-
name
:
Generate an ID for this run
ansible.builtin.set_fact
:
opid
:
"
{{
lookup('community.general.random_string',
length=18,
special=false)
}}"
-
name
:
Print the ID
ansible.builtin.debug
:
msg
:
"
{{
opid
}}"
-
name
:
Create a folder for all compiled output
ansible.builtin.file
:
path
:
"
/var/tmp/ansible_run_{{
opid
}}"
state
:
directory
mode
:
"
0755"
delegate_to
:
localhost
-
name
:
Import group_vars/all
ansible.builtin.include_vars
:
dir
:
/opt/ansible_inventory/group_vars/all
...
...
@@ -24,10 +9,6 @@
-
name
:
Import standard variables for "{{ subscription.product.product_type }}/{{ subscription.layer_2_circuit_service_type | upper | replace(' ', '_') }}"
ansible.builtin.include_vars
:
dir
:
/opt/ansible_inventory/geant_services/{{ subscription.product.product_type }}/{{ subscription.layer_2_circuit_service_type | upper | replace(' ', '_') }}
#
# - name: Import group_vars/routers
# ansible.builtin.include_vars:
# dir: /opt/ansible_inventory/group_vars/routers
-
name
:
Include l2circuit role
ansible.builtin.include_role
:
...
...
@@ -35,13 +16,3 @@
loop
:
"
{{
subscription.layer_2_circuit.layer_2_circuit_sides
}}"
loop_control
:
loop_var
:
l2c_side
# - name: Deploy
# # when: verb == deploy
# block:
# - name: Include deployment role
# ansible.builtin.include_role:
# name: deploy_service_config
# loop: "{{ subscription.layer_2_circuit.layer_2_circuit_sides }}"
# loop_control:
# loop_var: l2c_side
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment