mirror of
https://github.com/de-it-krachten/ansible-role-awx_export
synced 2026-05-14 03:31:47 +00:00
No description
- Jinja 100%
# [1.5.0](https://github.com/de-it-krachten/ansible-role-awx_export/compare/v1.4.0...v1.5.0) (2025-08-06) ### Features * Add support for AlmaLinux 10 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
ansible-role-awx_export
export AWX configuration into JSON
Dependencies
Roles
None
Collections
- awx.awx
Platforms
Supported platforms
- Red Hat Enterprise Linux 81
- Red Hat Enterprise Linux 91
- Red Hat Enterprise Linux 101
- RockyLinux 81
- RockyLinux 91
- RockyLinux 101
- OracleLinux 8
- OracleLinux 91
- OracleLinux 101
- AlmaLinux 81
- AlmaLinux 91
- AlmaLinux 101
- Debian 11 (Bullseye)1
- Debian 12 (Bookworm)1
- Debian 13 (Trixie)1
- Ubuntu 20.04 LTS1
- Ubuntu 22.04 LTS1
- Ubuntu 24.04 LTS1
- Fedora 421
Note: 1 : no automated testing is performed on these platforms
Role Variables
defaults/main.yml
# Use non default virtual env
# awx_python_interpreter: /virtenv/awx/bin/python3
# Full path to the awxkit / awx command
awx_command: awx
# Host to execute code from
awx_execution_host: localhost
# AWX url
awx_url: https://127.0.0.1
# AWX username to use
awx_username: admin
# AWX password to use
awx_password: admin
# Should SSL/TLS verification be done
awx_verify_ssl: false
# Location where to export files to
# awx_export_path: /tmp/awx
# List of resources to export
awx_export_resources:
- settings
- credential_types
- credentials
# - execution_environments
- inventory
- inventory_sources
- job_templates
- notification_templates
- organizations
- projects
- teams
- users
- workflow_job_templates
- roles
- schedules
- applications
- system_job_templates
- groups
- hosts
Example Playbook
molecule/default/converge.yml
- name: sample playbook for role 'awx_export' pre playbook
ansible.builtin.import_playbook: converge-pre.yml
when: molecule_converge_pre is undefined or molecule_converge_pre | bool
- name: sample playbook for role 'awx_export'
hosts: all
become: 'no'
vars:
awx_command: /usr/local/bin/awx
awx_export_path: /tmp/awx
tasks:
- name: Include role 'awx_export'
ansible.builtin.include_role:
name: awx_export