summaryrefslogtreecommitdiffstats
path: root/ansible_collections/community/ciscosmb
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ansible_collections/community/ciscosmb/CHANGELOG.rst17
-rw-r--r--ansible_collections/community/ciscosmb/FILES.json8
-rw-r--r--ansible_collections/community/ciscosmb/MANIFEST.json4
-rw-r--r--ansible_collections/community/ciscosmb/README.md36
-rw-r--r--ansible_collections/community/ciscosmb/changelogs/changelog.yaml17
-rw-r--r--ansible_collections/community/ciscosmb/plugins/cliconf/ciscosmb.py2
6 files changed, 77 insertions, 7 deletions
diff --git a/ansible_collections/community/ciscosmb/CHANGELOG.rst b/ansible_collections/community/ciscosmb/CHANGELOG.rst
index 757936b88..fb3bc6cc0 100644
--- a/ansible_collections/community/ciscosmb/CHANGELOG.rst
+++ b/ansible_collections/community/ciscosmb/CHANGELOG.rst
@@ -5,6 +5,23 @@ CiscoSMB Ansible module Release Notes
.. contents:: Topics
+v1.0.7
+======
+
+Release Summary
+---------------
+
+Release Date: 2023-10-30
+Fix issue on CSB-350 #69
+Clarify configuration doc #66 #64
+
+
+Bugfixes
+--------
+
+- added Cisco device config guide to address issue
+- added extra "\n" to sending commands to address issue
+
v1.0.6
======
diff --git a/ansible_collections/community/ciscosmb/FILES.json b/ansible_collections/community/ciscosmb/FILES.json
index da8c6bb63..cc62fa878 100644
--- a/ansible_collections/community/ciscosmb/FILES.json
+++ b/ansible_collections/community/ciscosmb/FILES.json
@@ -60,7 +60,7 @@
"name": "changelogs/changelog.yaml",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1475b799849c551683334960b06c7281d746541d5d6d22982b3ed044e4182ce0",
+ "chksum_sha256": "a3610efbe7df3df55e25d674d38c6f9681680cc6807e3af36cac886440c6346c",
"format": 1
},
{
@@ -102,7 +102,7 @@
"name": "plugins/cliconf/ciscosmb.py",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "1c63934612718d641d0535b99b8a5e0007f47c1269e4966aaa74dfbc1ed48793",
+ "chksum_sha256": "b5bb0ff1d5658fc7d4e8a4337430c13f1289ffba4d49089fdc8a075a91ccbe95",
"format": 1
},
{
@@ -704,7 +704,7 @@
"name": "CHANGELOG.rst",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "8dd9df5c99f767b9fd9aa148f152a8d51c233013f7f50e87db55aaeb569a4d4d",
+ "chksum_sha256": "482e1b4cebbd09bb0d8f7b0876ddffd6477af428618f284e1180a583401a8cbb",
"format": 1
},
{
@@ -732,7 +732,7 @@
"name": "README.md",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "5b3d106a2c6bb28a82fabe1ddd14d2a4b993db064d723466bb7b99b2a248af0f",
+ "chksum_sha256": "40d7260f4d76c77e48a364647b75e113ce91d0e18ad67b13207e14cec08718e1",
"format": 1
},
{
diff --git a/ansible_collections/community/ciscosmb/MANIFEST.json b/ansible_collections/community/ciscosmb/MANIFEST.json
index 05a85dc66..2a98111d7 100644
--- a/ansible_collections/community/ciscosmb/MANIFEST.json
+++ b/ansible_collections/community/ciscosmb/MANIFEST.json
@@ -2,7 +2,7 @@
"collection_info": {
"namespace": "community",
"name": "ciscosmb",
- "version": "1.0.6",
+ "version": "1.0.7",
"authors": [
"Petr Kl\u00edma <qaxi@seznam.cz>"
],
@@ -35,7 +35,7 @@
"name": "FILES.json",
"ftype": "file",
"chksum_type": "sha256",
- "chksum_sha256": "0c683d4e8c5cea322d7432678aab55221fee7735eefac38f987f581a123c68f2",
+ "chksum_sha256": "922f00a582a76f8d668444f41338cfc356b64945bfe4149e7a12ac1e838c03b4",
"format": 1
},
"format": 1
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.
diff --git a/ansible_collections/community/ciscosmb/changelogs/changelog.yaml b/ansible_collections/community/ciscosmb/changelogs/changelog.yaml
index 0666ff449..41e81a1b7 100644
--- a/ansible_collections/community/ciscosmb/changelogs/changelog.yaml
+++ b/ansible_collections/community/ciscosmb/changelogs/changelog.yaml
@@ -174,3 +174,20 @@ releases:
- playbook_examples.yml
- release-1.0.6.yml
release_date: '2023-05-23'
+ 1.0.7:
+ changes:
+ bugfixes:
+ - added Cisco device config guide to address issue
+ - added extra "\n" to sending commands to address issue
+ release_summary: 'Release Date: 2023-10-30
+
+ Fix issue on CSB-350 #69
+
+ Clarify configuration doc #66 #64
+
+ '
+ fragments:
+ - issue66.yml
+ - issue69.yml
+ - release-1.0.7.yml
+ release_date: '2023-10-30'
diff --git a/ansible_collections/community/ciscosmb/plugins/cliconf/ciscosmb.py b/ansible_collections/community/ciscosmb/plugins/cliconf/ciscosmb.py
index 922edeb69..b3f4b1afa 100644
--- a/ansible_collections/community/ciscosmb/plugins/cliconf/ciscosmb.py
+++ b/ansible_collections/community/ciscosmb/plugins/cliconf/ciscosmb.py
@@ -70,7 +70,7 @@ class Cliconf(CliconfBase):
return
def get(self, command, prompt=None, answer=None, sendonly=False, newline=True, check_all=False):
- return self.send_command(command=command, prompt=prompt, answer=answer, sendonly=sendonly, newline=newline, check_all=check_all)
+ return self.send_command(command=command + "\n", prompt=prompt, answer=answer, sendonly=sendonly, newline=newline, check_all=check_all)
def get_capabilities(self):
result = super().get_capabilities()