Installation
This guide covers the installation of the Palo Alto Networks SCM Ansible Collection and its dependencies.
Prerequisites
Before installing the collection, ensure you have the following prerequisites:
- Python 3.12 or higher
- Ansible 2.17 or higher
- pip (Python package manager)
Installing from Ansible Galaxy
The recommended way to install the collection is from Ansible Galaxy:
This command installs the latest version of the collection. To install a specific version:
Installing the Python SDK Dependency
This collection depends on the pan-scm-sdk
Python package. Install it using pip:
Installing from Source
To install the collection from source:
- Clone the GitHub repository:
- Build and install the collection:
Development Installation
For development purposes, you can install the collection in development mode:
- Clone the repository:
- Install the Python dependencies:
- Create a symbolic link to your Ansible collections directory:
mkdir -p ~/.ansible/collections/ansible_collections/cdot65
ln -s $(pwd) ~/.ansible/collections/ansible_collections/cdot65/scm
Verifying Installation
To verify the installation, run:
You should see the collection listed with its installed version.
Next Steps
After installation, proceed to the Getting Started guide to configure authentication and run your first SCM Ansible playbook.