Cannot get customized facts when pushing with "--check"

Hi gentlemen,
We are using the Ansible to manage many servers, and we like the dry run mode which with parameters “–check” and “–diff”. We always run with these parameters first to verify that if the changes will be made correctly.
The customized facts are very helpful, to generate some dynamic facts. But the trouble is, when we ran with “–check”, ansible skipped the customized module.
So we can’t use the dry run to check before we push if there are some customized facts used in templates files.
Is there a way to fix this or work around?

Here are the detailed informations:

[root@idc1-server1 ansible]# cat roles/myfacts/tasks/main.yml

You need to let ansible know your module supports check mode, this is
done by instantiating the module class and adding
'supports_check_mode=True'.

Thanks Brian Coca!
I fixed the issue by updating my custom module as follow:

#!/usr/bin/python

import json
import commands
import re

def get_ansible_private_ipv4_address():
    iprex = "(^192\.168)|(^10\.)|(^172\.1[6-9])|(^172\.2[0-9])|(^172\.3[0-1])"
    output = commands.getoutput("""/sbin/ifconfig |grep "Link encap" |awk '{print $1}' |grep -wv 'lo'""")
    nics = output.split('\n')
    for i in nics:
        ipaddr = commands.getoutput("""/sbin/ifconfig %s |grep -w "inet addr" |cut -d: -f2 | awk '{print $1}'""" % (i))
        if re.match(iprex,ipaddr):
            ansible_private_ipv4_address = ipaddr
            return ansible_private_ipv4_address

def main():
    global module
    module = AnsibleModule(
        argument_spec = dict(
            get_facts=dict(default="yes", required=False),
        ),
        supports_check_mode = True,
    )

    ansible_facts_dict = {
        "changed" : False,
        "ansible_facts": {
            }
    }

    if module.params['get_facts'] == 'yes':
        ansible_private_ipv4_address = get_ansible_private_ipv4_address()
        ansible_facts_dict['ansible_facts']['ansible_private_ipv4_address'] = ansible_private_ipv4_address

    print json.dumps(ansible_facts_dict)

from ansible.module_utils.basic import *
from ansible.module_utils.facts import *
main()