aruba / aoscx-ansible-role

Ansible roles for AOS-CX switches
22 stars 9 forks source link

Multi-line banner example #12

Closed gpn005 closed 3 years ago

gpn005 commented 4 years ago

Would it be possible to show how to do a multi-line banner in your documentation? I don't see any details explaining how this module may understand line breaks. Most customers have a long legal disclaimer for their banner which is more than 1 line so I think this would be of great benefit to the community.

tchiapuziowong commented 4 years ago

Hi @gpn005 !!

I've updated the module documentation to reflect a multi-line banner example : https://github.com/aruba/aoscx-ansible-role/commit/1e288703f71648a7109c5285be8092852f6ddcb1

When it comes to multi-line string objects in Ansible this stackoverflow post has other methods of implementing this as well: https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-over-multiple-lines

gpn005 commented 4 years ago

Thank you! I am not a programmer so all the details around a lot of this stuff is over my head so examples help.

Thanks,

-Geoff

Upcoming PTO: July 20th-26th August 24th-30th

Geoff Novak Sr. Network Engineer Sirius Computer Solutions c | (610) 742-7109 o | (215) 695-5112 Geoffrey.Novak@siriuscom.commailto:Geoffrey.Novak@siriuscom.com [ccnp_routingswitching_sm]

From: tchiapuziowong notifications@github.com Sent: Wednesday, June 24, 2020 5:19 PM To: aruba/aoscx-ansible-role aoscx-ansible-role@noreply.github.com Cc: Geoffrey Novak Geoffrey.Novak@siriuscom.com; Mention mention@noreply.github.com Subject: [EXTERNAL] Re: [aruba/aoscx-ansible-role] Multi-line banner example (#12)

Hi @gpn005https://github.com/gpn005 !!

I've updated the module documentation to reflect a multi-line banner example : 1e28870https://github.com/aruba/aoscx-ansible-role/commit/1e288703f71648a7109c5285be8092852f6ddcb1

When it comes to multi-line string objects in Ansible this stackoverflow post has other methods of implementing this as well: https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-over-multiple-lines

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/aruba/aoscx-ansible-role/issues/12#issuecomment-649076965, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG6OMICWJYRUKMA66IF6GWTRYJUS3ANCNFSM4OGH5ARQ.

This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed and may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, notify us immediately by telephone and (i) destroy this message if a facsimile or (ii) delete this message immediately if this is an electronic communication. Thank you.