def METHOD_NAME(ansible_module, status=None):
    command = 'systemctl {} pki-tomcatd@{}'.format(status, constants.CA_INSTANCE_NAME)
    out = ansible_module.shell(command)
    for res in out.values():
        assert res['rc'] == 0
    # Added sleep to wait for instance to come up on restart
    sleep(5)