--- - name: reboot system ansible.builtin.reboot: when: common_allow_restart - name: restart ssh ansible.builtin.service: name: sshd state: restarted