ping role – Ping hosts and display logged users
Note
This role is part of the ufrmath.computer_labs collection (version 1.0.0).
To install it use: ansible-galaxy collection install git+https://github.com/guillod/computer_labs.
To use it in a playbook, specify: ufrmath.computer_labs.ping.
Entry point main – Ping hosts and display logged users
Synopsis
ip addresses have to be present in Ansible cache;
Ping hosts from localhost with
ping -c 1 -w 1;For hosts which are up, retrieve and display logged users.
Collection links
Repository (Sources) Administrator documentation User documentation