Role mapping API is not visible in Kibana dashboard

I configured Elastic and kibana using ansible playbook.
Elastic and kibana are working fine but on kibana dashboard I am not able to see the role mapping section under security tab and logstash pipeline under ingest tab.

In elasticsearch.yml I have also put xpack security enable value is true.

Please help me with this I am stuck here.

Welcome to our community! :smiley:

What version of the stack are you using?

Elastic vesrio : 7.16.2
I restore one snapshot and after that role mapping and logstash pipeline stop working

What snapshot? What was in it?