You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just to weigh in here, I tried setting a motd banner using dellemc.os10.os10_config using the playbook below, but that eventually times out, probably because the first config line is somewhat interactive:
# configure-motd.yml
---
- name: Configure MOTD bannerhosts: l3_switchestasks:
- name: Gather OS10 factsdellemc.os10.os10_facts:
gather_subset:
- configregister: os10_facts
- name: Set motd bannerdellemc.os10.os10_config:
lines:
- banner motd %
- "{{ inventory_hostname }} - {{ os10_facts.ansible_facts.ansible_net_model }}"
- "WARNING: This system configuration is managed by Ansible, do not edit by hand!"
- "%"
So it seems like os10_config isn't the way to go here, so I'd appreciate another way to do it.
SUMMARY
Unable to find documentation for configuring a multi-line banner using dellemc.os10
ISSUE TYPE
COMPONENT NAME
os10_config module, or maybe os10_copy_config role? There don't seem to be any roles that specifically configure a banner
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: