Unable to automate Search- Guard installation through Ansible

I tried installation of Head plugin through ansible, it worked out. But i am not able to find any way to install Search-Guard Plugin through ansible. I havent find any module available to install search guard plugin through ansible. Any idea is welcomed …

Error given in 1st Scenario below. There is another way i tried to install Search -Guard Plugin that also doesnt work. I just got frustrated in automating it through ansible. Sorry for incomplete post.

SCENARIO:1:-