Skip to content
This repository has been archived by the owner on Mar 4, 2022. It is now read-only.

config_interface.yml

Andrew Turner edited this page Jul 2, 2021 · 1 revision

Table of Contents


Input Options

host (required)

  • Defines the host to be targeted for the playbook.
  • Entered as an extra variable through the CLI.
    Example: -e "host=cisco1

interface (required)

Defines what interface on the host to target for update.
Example: -e "interface="g0/1"


Example Usage

$ ansible-playbook config_interface.yml -e 'host=cisco1 interface="g0/1'

Clone this wiki locally