Skip to content

Commit

Permalink
add verify ssh
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed May 14, 2024
1 parent 3067ae0 commit a92e11c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions fabric_am/config/switch_handler_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@
playbooks:
location: /etc/fabric/actor/playbooks
inventory_location: /etc/fabric/actor/playbooks/inventory
admin_ssh_key: /root/.ssh/id_rsa_nova
admin_user: rare
Switch: head_switch_provisioning.yml
cleanup:
ALL: head_switch_provisioning.yml
2 changes: 0 additions & 2 deletions fabric_am/handlers/switch_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@
import traceback
from typing import Tuple

import paramiko
from fabric_cf.actor.core.common.constants import Constants
from fabric_cf.actor.core.plugins.handlers.config_token import ConfigToken
from fabric_cf.actor.handlers.handler_base import HandlerBase
from fim.slivers.network_node import NodeSliver, NodeType
from jinja2 import Environment

from fabric_am.util.am_constants import AmConstants
from fabric_am.util.ansible_helper import AnsibleHelper
from fabric_am.util.utils import Utils


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_pass }}"
mode: "0600"
when: operation == 'config'
when: operation == 'config'

0 comments on commit a92e11c

Please sign in to comment.