Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove old style kickstart generation. #28

Merged
merged 1 commit into from
Sep 23, 2016

Commits on Sep 14, 2016

  1. Remove old style kickstart generation.

    Even if hosts_file_use_custom_inventory == True, skipping over all the
    hosts in the old-style kickstart generation takes a long time. In our
    environment, running
    
    ansible-playbook install.yml --tags=pxe
    
    shows the following timings:
    
    Wednesday 14 September 2016  10:10:12 +0300 (0:00:01.322)       0:02:16.558 ***
    ===============================================================================
    ansible-role-pxe_config : copy over kickstart file (old style) --------- 34.82s
    ansible-role-pxe_config : populate hosts file from template with PXE hosts -- 20.68s
    ansible-role-pxe_config : create pxe boot data json file --------------- 19.28s
    ansible-role-pxe_config : create_dhcp_configs -------------------------- 19.10s
    ansible-role-pxe_config : copy over kickstart file (new and faster style) --- 9.45s
    
    (top 5 only, all other tasks are below 2s.)
    jabl committed Sep 14, 2016
    Configuration menu
    Copy the full SHA
    9386cad View commit details
    Browse the repository at this point in the history