Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Szakdoga
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Barta Máté Zsombor
Szakdoga
Commits
c99312a5
Commit
c99312a5
authored
2 years ago
by
Barta Máté Zsombor
Browse files
Options
Downloads
Patches
Plain Diff
First plays
parent
12cae74a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
hosts.yaml
+7
-0
7 additions, 0 deletions
hosts.yaml
test.yaml
+15
-0
15 additions, 0 deletions
test.yaml
with
22 additions
and
0 deletions
hosts.yaml
0 → 100644
+
7
−
0
View file @
c99312a5
[
routers
]
router1 int_ip=10.10.20.100
[
routers
:
vars
]
ansible_become=yes
ansible_become_method=enable
ansible_network_os=cisco.ios.ios
\ No newline at end of file
This diff is collapsed.
Click to expand it.
test.yaml
0 → 100644
+
15
−
0
View file @
c99312a5
---
-
name
:
Test
hosts
:
routers
gather_facts
:
no
connection
:
network_cli
tasks
:
-
name
:
Show int info
cisco.ios.ios_command
:
commands
:
show ip route vrf Mgmt-intf
register
:
interfaces_info
-
name
:
Print output
copy
:
content
:
"
{{interfaces_info.stdout[0]}}"
dest
:
~/onlab/{{inventory_hostname}}.txt
\ No newline at end of file
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