introduce common role

plus some cleanup for php-ci and lamp