Making PHX Software and License Files Available for Ansible
pxd
and pxt
nodes using Vagrant Sync Folders.Categories:
Projects: c2platform/phx/ansible
The c2platform/phx/ansible
project
streamlines the process of making essential software and licenses accessible for
Ansible on Windows gsd
nodes, such as pxd-agserver1
, by leveraging Vagrant Sync
Folders.
Follow these steps to make ArcGIS software and licenses available for Ansible:
Prepare .sync_folders.yml
Create a file named .sync_folders.yml
in the root of
c2platform/phx/ansible
project and
populate it with content similar to the example below. Modify the src
path to
correspond to your local folder containing the necessary software and license
files. This configuration file will be utilized by the Vagrantfile
within the
c2platform/phx/ansible
project to
establish a folder mount within the VM, specifically at
C:/software
.
---
- src: /software/projects/phx/
target: /software
owner: www-data
group: www-data
- src: /software/projects/phx/cache/
target: /software-cache
owner: www-data
group: www-data
- src: ../ansible-dev-collections/
target: /ansible-dev-collections
Note:
This.sync_folders.yml
is ignored by Git. See .gitignore
.Provide Software and Licenses
As an example my local folder is shown below:
This will make the ArcGIS Server software available in pxd-agserver1
with path
C:\arcgis-software-repo\ArcGISServer.zip
.
Vagrant up or reload
After creating .sync_folders.yml
Vagrant will create the mount for your local
software folder when you do a vagrant up
or vagrant reload
command.
Verify
If you connect to the VM using VirtualBox Manager you should be able to see the
mount C:\arcgis-software-repo
.

Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.