Looking here, re the cron-script; https://github.com/ansible/ansible-examples/blob/master/language_features/ansible_pull.yml
Ansible needs to be already installed on the new laptop/s, right? And I can't do that remotely because I don't have openssh-server installed and running. On Tuesday, December 4, 2018 at 3:16:21 PM UTC+1, Jonathan Lozada De La Matta wrote: > > well that's an option but, what I was getting is that either you either > get ssh installed somehow or try ansible-pull. > > On Tue, Dec 4, 2018 at 9:08 AM Sorin Srbu <[email protected] > <javascript:>> wrote: > >> Hi and thanks for the reply. >> >> In the installer wizard, like a role picker as in eg CentOS? >> Not that I noticed. >> >> I got to choose keyboard, language, time zone and if I wanted to use >> wifi. Also asked if I wanted to create a rescue usb-stick. >> Nothing else that I recall. >> >> >> I'm getting to think maybe I should've researched getting a customized >> image installed with ssh and have it activated... >> >> >> >> >> >> On Tuesday, December 4, 2018 at 2:34:10 PM UTC+1, Jonathan Lozada De La >> Matta wrote: >>> >>> during step 2 is there an option to install extra packages or do extra >>> commands? >>> >>> On Tue, Dec 4, 2018 at 8:32 AM Sorin Srbu <[email protected]> wrote: >>> >>>> Hi all, >>>> >>>> It goes like this. >>>> >>>> >>>> 1. I order and buy a bunch of Dell laptops with Ubuntu 16 LTS >>>> preinstalled. >>>> >>>> 2. I manually go trough the first-install-config. >>>> >>>> 3. After reboot, it's up, and I want to use Ansible from a remote >>>> admin-computer to set the laptop up identically for eg a course. >>>> >>>> 4. Ansible can't connect, because it seems Ubuntu 16 doesn't >>>> install and activate ssh by default! >>>> See >>>> >>>> https://askubuntu.com/questions/985375/does-ubuntu-desktop-enable-remote-ssh-access-by-default >>>> . >>>> >>>> 5. I had intented to use Ansible to not have to login manually and >>>> install eg ssh and set all the other configs, mounts etc. >>>> >>>> >>>> Basically, now what? >>>> Feels like this is a chicken and egg situation here. >>>> >>>> How do *you* get around this obstacle when dealing with Ubuntu? >>>> >>>> //Sorin >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ansible Project" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/ansible-project/1c577530-4378-4d4a-9e0e-94f18bcd36b7%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/ansible-project/1c577530-4378-4d4a-9e0e-94f18bcd36b7%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> -- >>> >>> Jonathan lozada de la matta >>> >>> AUTOMATION PRACTICE >>> >>> >>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Ansible Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/1fc21978-c341-4f90-8a2d-1163495a5221%40googlegroups.com >> >> <https://groups.google.com/d/msgid/ansible-project/1fc21978-c341-4f90-8a2d-1163495a5221%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > -- > > Jonathan lozada de la matta > > AUTOMATION PRACTICE > > > > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/d0473d4a-bc00-4007-81e5-dfa08897eab2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
