PTAnywhere installation script for a Linux distribution using Ansible (and optionally Vagrant).
Please go to project wiki to find extensive documentation on how to use these installation scripts:
- Requisites
- How does a typical PTAnywhere installation look like?
- Preparing the PT installation
- Install PTAnywhere in any machine (using Ansible)
- Install PTAnywhere in predefined local Virtual Machines (using Vagrant)
- Ansible throws an error which says:
Missing become password
. - What happens? The remote user you are running needs to introduce a password to become sudo.
- Quick solution: Add the
--ask-become-pass
parameter. - The Docker image cannot been built correctly the first time you run the Ansible script:
dial unix /var/run/docker.sock: permission denied
- What happens? The SSH connection used by Ansible does not know that the user is now part of the docker group (because it has join the group within the same session). This problem is explained in more detail here (BTW, the solution described there does not work for me).
- Quick solution: run the Ansible script (or the Vagrant one which uses it) a second time.
- The PT instance gets stuck in a machine running behind a HTTP proxy and logs don't show any meaningful information.
- Strange as it may sound, you might want to unset the proxy for PacketTracer.
These installation scripts were made as part of the FORGE project.