Account templates are not part of the IM object store, so they are not exported in the roles.xml.
Can account templates be exported and import to another environment?
12.5, 12.6 and 14.x
The provisioning templates exist at the provisioning layer.
There is no easy way or tool to migrate the Account Templates.
There is an approach that others have tried which you can try as well as listed below.
Please note that this is provided as-is and you should first test it out.
In existing (ie. Development) environment:
In the new IM environment:
Note: The Account Templates will not be associated to the Provisioning Role. Manually associate the Provisioning Role and the Account Templates
The Role <-> Template and the Template <-> Endpoint mapping are handled via special inclusion objects which is why you don't see it as part of the Template LDIF file you exported. You will need to manually re-link the Role to the Template and the Template to the Endpoint. You could use the etautil tool to help you with this.
etautil -u USER -p PWD -f INPUT.txt
where input.txt contains etautil commands (one per line) such as:
add 'eTNamespaceName=ActiveDirectory' eTADSDirectory
eTADSDirectoryName='My_Endpoint' in 'eTADSPolicyContainerName=
Active Directory Policies,eTNamespaceName=CommonObjects'
add 'eTRoleContainerName=Roles,eTNamespaceName=CommonObjects' eTRole
eTRoleName='My_Role' in 'eTADSPolicyContainerName=Active Directory