diff options
Diffstat (limited to 'ansible_collections/community/ciscosmb/README.md')
-rw-r--r-- | ansible_collections/community/ciscosmb/README.md | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ansible_collections/community/ciscosmb/README.md b/ansible_collections/community/ciscosmb/README.md index 703afb1c2..0ddae236a 100644 --- a/ansible_collections/community/ciscosmb/README.md +++ b/ansible_collections/community/ciscosmb/README.md @@ -18,6 +18,40 @@ Tested on devices: * CBS350-24P-4G * SG550X-48 stack +### Required device configuration + +Access setup +``` +! you should set enable password +enable password level 15 + +! on user you have two choices +! use unpriviledged user (for example priv. 7) and "become mode" +username user1 privilege 7 + +! or user with full privileges (priv 15) +username user2 privelege 15 +``` + +Cisco's SSH server setup +``` +! you have to enable SSH server +ip ssh server +! enable password and/or key +ip ssh password-auth +ip ssh pubkey-auth auto-login +! generate switch ssh key pair if you did not before +crypto key generate rsa + +! if you use public keys for users login configure that keys +crypto key pubkey-chain ssh +user-key user2 rsa +key-string AAAAB3NzaC1......XYZ== +exit +``` + +### Python versions + Tested on Python versions: * 3.6 * 3.7 @@ -25,6 +59,8 @@ Tested on Python versions: * 3.9 * 3.10 +### Running examples + For your tests or quick startup use files form repository: [cismosmb_inventory_template.yml](./ciscosmb_inventory_template.yml), [cismosmb_gather_facts.yml](./ciscosmb_gather_facts.yml), [cismosmb_commands.yml](./ciscosmb_commands.yml) . Prepare your inventory file - copy file [cismosmb_inventory_template.yml](./ciscosmb_inventory_template.yml) to `cismosmb_inventory.yml` and make your changes. |