New answers tagged automation
When booting on the Ubuntu Installation device (CD or USB disk), the syslinux bootloader asks first for a language, before displaying the boot menu (that would eventually run a preseed file). In order to select automatically a language, you should Set the chosen language in the syslinux/langlist file by removing the other languages. Set a non-null timeout ...
With preseed, you can execute a late_command that will be executed at the end of the installation process. d-i preseed/late_command string in-target wget -P /tmp/ $server/script.sh; in-target chmod $+x /tmp/script.sh; in-target /tmp/script.sh Basically, you just have to modify the kernel options of the target system. Hope it helped !
As implied by some of the comments, it is likely that something else is causing the SSH connection error rather than the delegated task. When using delegte_to:, Ansible only connects via SSH to the machine indicated in the delegate clause (in cases other than localhost). I would try the suggested disabling of facts (gather_facts: no) and also share the ...
Top 50 recent answers are included