You are using vmware_guest_info module, which was introduced in ansible 2.9: https://docs.ansible.com/ansible/latest/modules/vmware_guest_info_module.html
On that page it also says that the module used to be called vmware_guest_facts prior to 2.9. Given that you have difficulty upgrading, try to use the old module name? On Sun, 19 Apr 2020 at 23:55, Tony Wong <[email protected]> wrote: > > tony@ubuntu:~/ansiblework$ sudo apt-add-repository ppa:ansible/ansible > Ansible is a radically simple IT automation platform that makes your > applications and systems easier to deploy. Avoid writing scripts or custom > code to deploy and update your applications— automate in a language that > approaches plain English, using SSH, with no agents to install on remote > systems. > > http://ansible.com/ > More info: https://launchpad.net/~ansible/+archive/ubuntu/ansible > Press [ENTER] to continue or Ctrl-c to cancel adding it. > > Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease > Hit:2 http://ppa.launchpad.net/ansible/ansible/ubuntu cosmic InRelease > Ign:3 http://archive.ubuntu.com/ubuntu cosmic InRelease > Ign:4 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease > Ign:5 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease > Ign:6 http://archive.ubuntu.com/ubuntu cosmic-security InRelease > Err:7 http://archive.ubuntu.com/ubuntu cosmic Release > 404 Not Found [IP: 91.189.88.152 80] > Err:8 http://archive.ubuntu.com/ubuntu cosmic-updates Release > 404 Not Found [IP: 91.189.88.152 80] > Err:9 http://archive.ubuntu.com/ubuntu cosmic-backports Release > 404 Not Found [IP: 91.189.88.152 80] > Err:10 http://archive.ubuntu.com/ubuntu cosmic-security Release > 404 Not Found [IP: 91.189.88.152 80] > Reading package lists... Done > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic Release' no longer > has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-updates Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-backports Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-security Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > tony@ubuntu:~/ansiblework$ sudo apt-get update > Hit:1 https://download.docker.com/linux/ubuntu bionic InRelease > Ign:2 http://archive.ubuntu.com/ubuntu cosmic InRelease > Hit:3 http://ppa.launchpad.net/ansible/ansible/ubuntu cosmic InRelease > Ign:4 http://archive.ubuntu.com/ubuntu cosmic-updates InRelease > Ign:5 http://archive.ubuntu.com/ubuntu cosmic-backports InRelease > Ign:6 http://archive.ubuntu.com/ubuntu cosmic-security InRelease > Err:7 http://archive.ubuntu.com/ubuntu cosmic Release > 404 Not Found [IP: 91.189.88.142 80] > Err:8 http://archive.ubuntu.com/ubuntu cosmic-updates Release > 404 Not Found [IP: 91.189.88.142 80] > Err:9 http://archive.ubuntu.com/ubuntu cosmic-backports Release > 404 Not Found [IP: 91.189.88.142 80] > Err:10 http://archive.ubuntu.com/ubuntu cosmic-security Release > 404 Not Found [IP: 91.189.88.142 80] > Reading package lists... Done > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic Release' no longer > has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-updates Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-backports Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > E: The repository 'http://archive.ubuntu.com/ubuntu cosmic-security Release' > no longer has a Release file. > N: Updating from such a repository can't be done securely, and is therefore > disabled by default. > N: See apt-secure(8) manpage for repository creation and user configuration > details. > > On Sun, Apr 19, 2020 at 2:15 PM David Foley <[email protected]> wrote: >>>> >>>> $ sudo apt update >>>> $ sudo apt install software-properties-common >>>> $ sudo apt-add-repository --yes --update ppa:ansible/ansible >>>> $ sudo apt install ansible >> >> https://docs.ansible.com/ansible/2.3/intro_installation.html >> >> No you don't need to have the latest Ubuntu 19 >>>> >>>> >> >> -- >> 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 view this discussion on the web visit >> https://groups.google.com/d/msgid/ansible-project/8d575edb-65a0-4d98-b6d7-c6a0ca349ac8%40googlegroups.com. > > -- > 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 view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/CALmkhkq8tcayQrMEKM3f2xBV9%3DxBrdOr%3D0s58ERhBMhto2iNgA%40mail.gmail.com. -- Dick Visser Trust & Identity Service Operations Manager GÉANT -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAL8fbwNdKY5E20UapWMC6V2fgY%2BJFjix1TgTJcCH8-CvKcs9UA%40mail.gmail.com.
