A regular user(gov1) wants to install an application (app1) owned by the app1:app1 under the directory where app1 has permission.
The /app_mnt and its folders are all owned by app1:app1. (gov2) is part of app1 group as well
]# ls -ld /app_mnt/app1/conf
drwxrw-r-x. 4 app1 app1 4096 Feb 26 16:41 /app_mnt/app1/conf
The regular user(gov2) uses sudo to app1 for the installation
Playbook is run as regular user (gov2) .