Ansible
Using Ansible to run administration commands
This section covers daily administration and operations for Pigsty deployments.
Use infra.yml playbook to install INFRA module on infra group:
./infra.yml # Install INFRA module on infra group
Use dedicated infra-rm.yml playbook to remove INFRA module from infra group:
./infra-rm.yml # Remove INFRA module from infra group
Pigsty includes local yum/apt repo for software packages. Manage repo configuration:
| Variable | Description |
|---|---|
repo_enabled | Enable local repo on node |
repo_upstream | Upstream repos to include |
repo_remove | Remove upstream repos if true |
repo_url_pkg | Extra packages to download |
repo_clean | Clean repo cache (makecache) |
repo_pkg | Packages to include |
./infra.yml -t repo # Create or update repo
Repo location: /www/pigsty served by Nginx.
More: Configuration: INFRA - REPO
Using Ansible to run administration commands
Built-in Ansible playbooks in Pigsty
Nginx management, web portal configuration, web server, upstream services
Managing local APT/YUM software repositories
Configure local or public domain names to access Pigsty services.
INFRA module management SOP: define, create, destroy, scale out, scale in
Using self-signed CA or real HTTPS certificates
Was this page helpful?
Thanks for the feedback! Please let us know how we can improve.
Sorry to hear that. Please let us know how we can improve.