Hi guys, I've been messing with Ansible for past two weeks and I'm simply amazed by its capabilties (maybe a part from super sensitive data format :D). I need a help with two things, I've been provisioning new switches and so far have done dns. vlans, ntp, acls etc all with Ansible. I need to configure hostnames for switches from a variable that share same naming convention. Let say I've got 10 switches in hosts file and I'd like to assign them name e.g. '501-MDF-SW1', '501-MDF-SW2', '501-MDF-SW3' etc. I think I've tried everything but no luck - is there even a way to do it?
No comments:
Post a Comment