ansible-collection-gns3
ansible-collection-gns3 copied to clipboard
Additional Project properties
Additional project properties for scene_height, scene_width and project_path. project_path is only used if Project name is also specified as it make no sense to put a friendly path on a project identified by a GUID if no value for scene_height and scene_width is specified they are set null so the GNS3 defaults are respected
This seems pretty cool, do you have an example screenshot of a lab with these settings turned on?
This seems pretty cool, do you have an example screenshot of a lab with these settings turned on?
Sure:
Created with a play containing: project_name: "{{ project_name }}" project_path: "{{ projects_path }}{{ project_name }}" scene_height: 550 scene_width: 550 where the vars contain : project_name: "GNS3fy_Ansible" projects_path: "/opt/gns3/projects/"
My use case for the path is having a central GNS3 server as a Lab environment for multiple trainees and using their username to differentiate who each project belongs to on the assumption they will all do the same set of labs.