Skip to content

Add a timeout on Ansible playbook? #2

@torfinnnome

Description

@torfinnnome

Today, it hanged, while waiting for Ansible to finish. Might want to find a better way to handle this. I pressed ctr-c to cancel:

2021-08-23 14:28:40 eccd.INFO     We got stuff to do, creating some additional nodes...
Node names ['ecc1.usegalaxy.no', 'ecc3.usegalaxy.no', 'ecc2.usegalaxy.no', 'nrec2.usegalaxy.no', 'nrec1.usegalaxy.no']
creating node with name ecc4.usegalaxy.no
^Cfailed to run playbook: 'run_playbook(/srv/ecc/venv/bin/ansible-playbook -i '/srv/ecc/bin/ecc_nodes.py' slurm.yml -e'ansible_user=centos', host=158.39.74.239, cwd=/srv/ecc/infrastructure-playbook/env/main)'
2021-08-23 18:53:37 eccd.INFO     Napping for 30 seccnd(s).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions