Skip to content
Snippets Groups Projects
Commit 119f554a 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 #94914 failed
[defaults]
library = ./modules
host_key_checking = False
[netconf_connection]
ssh_config = False
[junos]
my-junos ansible_host=62.40.119.4 ansible_user=gap-test ansible_password=concept_gear_ESSENTIAL93 ansible_connection=netconf ansible_network_os=juniper.junos.junos
...@@ -8,6 +8,13 @@ from __future__ import absolute_import, division, print_function ...@@ -8,6 +8,13 @@ from __future__ import absolute_import, division, print_function
__metaclass__ = type __metaclass__ = type
ANSIBLE_METADATA = {
"metadata_version": "1.1",
"status": ["preview"],
"supported_by": "community",
"supported_transports": ["netconf"],
}
DOCUMENTATION = """ DOCUMENTATION = """
module: junos_config module: junos_config
author: Peter Sprygada (@privateip) author: Peter Sprygada (@privateip)
......
- name: Test private-candidate junos_config
hosts: junos
gather_facts: no
collections:
- geant.gap_ansible # <-- your locally installed collection
tasks:
- name: Open private candidate, push a change and commit
geant.gap_ansible.junos_config: # <-- module from geant.gap_ansible
lines:
- set system services ssh root-login allow
config_mode: private
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