Skip to content
Snippets Groups Projects
Commit 276f3410 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

test

parent 10bf0f15
No related branches found
No related tags found
No related merge requests found
Pipeline #94907 failed
[defaults]
library = ./modules
host_key_checking = False
[netconf_connection]
ssh_config = False
[junos]
my-junos ansible_host=10.0.0.5 ansible_user=admin ansible_password=YourPass \
ansible_connection=netconf ansible_network_os=juniper.junos.junos
- hosts: junos
gather_facts: no
tasks:
- name: Open private candidate, push a change and commit
junipernetworks.junos.junos_config:
lines:
- set system services ssh root-login allow
config_mode: private
commit: true
register: result
- debug:
var: result
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment