def METHOD_NAME(self, ansible_module):
    ansible_module.shell("systemctl stop pki-tomcatd@%s" % self.subsystem_name)
    ansible_module.shell("pki-server instance-nuxwdog-enable %s" % self.subsystem_name)
    output = ansible_module.shell("cat /var/lib/pki/%s/conf/nuxwdog.conf | grep %s" % (self.subsystem_name, self.pki_user))
    for result in output.values():
      assert "%s" % self.pki_user in result['stdout']
    ansible_module.shell("mv /var/lib/pki/%s/conf/password.conf /tmp/%s-password.conf" % (self.subsystem_name, self.subsystem_type))
    password = {}
    output = ansible_module.shell("cat /tmp/%s-password.conf" % self.subsystem_type)
    for result in output.values():
        [password.update({i.split("=")[0]: i.split("=")[1]}) for i in result['stdout'].split("\n")]
    if 'TPS' not in self.subsystem_type:
        ansible_module.expect(command='systemctl start pki-tomcatd-nuxwdog@%s' % self.subsystem_name, responses={
            '\[%s\] Please provide the password for internal:' % self.subsystem_name: '%s' % password['internal'],
            '\[%s\] Please provide the password for internaldb:' % self.subsystem_name: '%s' % password['internaldb'],
            '\[%s\] Please provide the password for replicationdb:' % self.subsystem_name: '%s' % password['replicationdb']})
    else:
        ansible_module.expect(command='systemctl start pki-tomcatd-nuxwdog@%s' % self.subsystem_name, responses={
            '\[%s\] Please provide the password for internal:' % self.subsystem_name: '%s' % password['internal'],
            '\[%s\] Please provide the password for internaldb:' % self.subsystem_name: '%s' % password['internaldb']})