[ansible-project] need help on multipath

2017-07-12 Thread rakesh boinapally
we usually perform lot of multipath tasks in our company. On a server if i want to configure multipath for disk aliases multipath -ll|egrep "dm-|size"|sed -e 's/\]/ /g'|sed -e 'N' -e 's/\n/ /'|awk '{print $6,$2}'|sed -e 's/\[size=//g'|sed -e 's/(//g'|sed -e 's/)//g'|sed -e 's/\.0G/G/'|sort

[ansible-project] question on loop

2017-07-03 Thread rakesh boinapally
I have requirement where i have to create ssh keys for user on given list of servers and collect all the key from each server and copy into all servers. Example :- node1 node2 node3 user:- webadmin create key for webadmin on three servers and collect web admin key of all three servers and