Issue #1798732 by Dean Reilly, westie, alexpott, sun: convert install_task() variable to use state system.