Storing Arrays in variable

6 views
Skip to first unread message

Mona Gopal

unread,
Jul 27, 2016, 11:33:16 PM7/27/16
to Ansible Project
Dear All,

I have a file with the below content:

## NexGen SS7 maximum allowed configuration file 

MAXIMUM_INSTANCES = 2
MAXIMUM_LINKS = 0
MTP2  = NO
SCTP = YES
M2UA = NO
MTP3 = NO
M3UA = YES
SCCP = YES
TCAP = YES
MAC = 441ea15e6f44,441ea15e6f46,441ea15e4ff8,441ea15e4ffa
LIC-START-TIME = 00/00/0000
LIC-END-TIME = 31/12/9999

And my requirement is to fetch each of the MAC value and pass it as an argument to script module to different hosts 441ea15e6f44, 441ea15e6f46, 441ea15e4ff8, 441ea15e4ffa 

How do I go about doing it??

Thanks in advance,
Mona G

Reply all
Reply to author
Forward
0 new messages