Automate Setup Jenkins after install by ansible role

I install jenkins by ansible role on Ubuntu and Redhat but I want after install setup of jenkins like install default plugin and create first admin user by ansible role too.
please help me to do this?
I hear we can use many way, but I want do this by xml file, but I do not know how?

I’m also using ansible to create my configuration (at that time CasC didn’t exist yet). It allows me to configure multiple instances with different settings.
Almost each plugin stores it’s configuration in an xml file in JENKINS_HOME. So in order to configure those plugins with ansible you should probably first setup your Jenkins once manually to see how the xml files look. Then you can copy the files to your ansible playbook.
Consider that some plugins around security (security realm and authorization) store their configuration inside the config.xml, also views are configured there. So I have xml snippets for those parts that are merged with XSLT into the config.xml

Thanks
Can I find good example about this ?