fgci-org / fgci-ansible

:microscope: Collection of the Finnish Grid and Cloud Infrastructure Ansible playbooks
MIT License
54 stars 18 forks source link

enable profile_task callback plugin by default #149

Closed martbhell closed 8 years ago

martbhell commented 8 years ago

Question: do we want to enable callback plugin by default?

$ ansible-playbook compute.yml -t cuda -D -l gpu

PLAY [grab facts from install nodes] *******************************************
skipping: no hosts matched

PLAY [Compute Nodes] ***********************************************************

TASK [setup] *******************************************************************
Monday 29 August 2016  09:04:41 +0300 (0:00:01.100)       0:00:01.100 ********* 
ok: [gpu]

PLAY [GPU Nodes] ***************************************************************

TASK [ansible-role-cuda : add nvidia CUDA repo] ********************************
Monday 29 August 2016  09:04:43 +0300 (0:00:01.648)       0:00:02.748 ********* 
ok: [gpu]

..SNIP..

TASK [ansible-role-cuda : Initialize the GPUs if there is no /dev/nvidia0] *****
Monday 29 August 2016  09:04:53 +0300 (0:00:00.143)       0:00:12.326 ********* 
skipping: [gpu]

PLAY RECAP *********************************************************************
gpu                        : ok=9    changed=0    unreachable=0    failed=0   

Monday 29 August 2016  09:04:53 +0300 (0:00:00.081)       0:00:12.408 ********* 
=============================================================================== 
ansible-role-cuda : add nvidia CUDA repo -------------------------------- 1.85s
setup ------------------------------------------------------------------- 1.65s
ansible-role-cuda : template in cuda_init.sh used during boot ----------- 1.62s
ansible-role-cuda : template in cuda_init.service systemd script -------- 1.61s
ansible-role-cuda : install cuda software - this is slow - restart if cuda_restart_node_on_install is True --- 1.41s
ansible-role-cuda : enable the cuda_init systemd service ---------------- 1.09s
ansible-role-cuda : make sure cuda_init.sh script is absent from rc.local --- 0.97s
ansible-role-cuda : check if cuda_gpu_name0 ( /dev/nvidia0 ) exists ----- 0.89s
ansible-role-cuda : debug ----------------------------------------------- 0.14s
ansible-role-cuda : Initialize the GPUs if there is no /dev/nvidia0 ----- 0.08s

martbhell commented 8 years ago

No reply. Merged.