feature spotlight reboot
play

Feature Spotlight: Reboot Sam Doran, Senior Software Engineer, Red - PowerPoint PPT Presentation

Feature Spotlight: Reboot Sam Doran, Senior Software Engineer, Red Hat Ansible Core Agenda History How the reboot plugin works Examples Future features HISTORY History win_reboot since Ansible 2.1 shell module for Linux hosts prior


  1. Feature Spotlight: Reboot Sam Doran, Senior Software Engineer, Red Hat Ansible Core

  2. Agenda History How the reboot plugin works Examples Future features

  3. HISTORY

  4. History win_reboot since Ansible 2.1 ● shell module for Linux hosts prior to Ansible 2.7 ● - win_reboot: - shell: sleep 2 && shutdown -r now async: 60 poll: 0 reboot since Ansible 2.7 ● - win_reboot: - reboot:

  5. HOW IT WORKS

  6. How it works Action plugin vs module ● What it does: ● gathers facts on target system ○ gets last boot time ○ looks up the appropriate command and gets the full path ○ looks up appropriate command flags ○ runs the reboot command ○ continually checks the last boot time ○ runs the post-reboot validation command ○

  7. EXAMPLES

  8. FUTURE

  9. Future add parameter for the reboot binary name ● support more operating systems ● other community-based features ●

  10. Thank you Sam Doran, Senior Software Engineer, Red Hat https://github.com/samdoran/demo-playbooks

Recommend


More recommend