Skip to content
  • Pierre-Louis Bonicoli's avatar
    hardcode dh parameters: reduce test execution time · 5aafd651
    Pierre-Louis Bonicoli authored
    DH parameter generation takes too much time:
    
        21:21:42 TASK [Generate DH Parameters (2048 bits)]
        21:21:42 task path: pilou-/ansible-role-burp/molecule/common/prepare.yml:9
        21:21:42 <molecule-burp-server> ESTABLISH kubectl CONNECTION
        [...]
        21:21:45 <molecule-burp-server> EXEC ['/usr/bin/kubectl', 'exec',
            '-i', 'molecule-burp-server', '--', '/bin/sh', '-c',
            "/bin/sh -c 'python3 ansible-tmp/AnsiballZ_openssl_dhparam.py && sleep 0'"]
        21:26:25 <molecule-burp-server> EXEC ['/usr/bin/kubectl', 'exec',
            '-i', 'molecule-burp-server', '--', '/bin/sh', '-c',
            "/bin/sh -c 'rm -f -r ansible-tmp/ > /dev/null 2>&1 && sleep 0'"]
    5aafd651