tasks that can be done using Ansible ad-hoc commands

  • To archive or Zip files and folders || Achieve module
  • To ping Remote host || ping module
  • To install packages || yum module
  • To manage cron job or schedule job ||cron
  • To reboot remote machine||reboot
  • To verify service status|| service
  • To download a file from URL || get_url module
  • To check uptime of host || command or shell module
  • To copy file content to another file||copy
  • To delete whole directory and files||file module
  • To create directory ||file module
  • To verify all pre-requisite packages or installed || yum module