No description
Find a file
semantic-release-bot 0fe30fde34 chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/de-it-krachten/ansible-role-awx_convert/compare/v1.7.0...v1.8.0) (2026-08-04)

### Features

* Added support for Fedora 44 ([71c8ad9](71c8ad9023))
* Added support for Ubuntu 26.04 LTS ([4030587](4030587ce9))
* Drop support for Fedora 42 ([d0cdd37](d0cdd372e0))
2026-08-04 19:21:42 +00:00
.github/workflows Update CI 2026-08-04 20:56:11 +02:00
defaults fix: Move resource 'organizations' to top 2023-06-06 21:41:07 +02:00
meta Update CI 2026-06-07 16:41:45 +02:00
molecule/default Update CI 2026-08-04 20:56:11 +02:00
tasks Replace ansible loop by native jinja2 loop 2023-11-08 23:05:35 +01:00
templates Initial commit 2022-10-19 23:59:08 +02:00
.ansible-lint Update CI 2026-06-07 16:41:45 +02:00
.cicd Update CI 2026-06-09 10:43:09 +02:00
.cicd.overwrite Update CI 2026-08-04 20:56:11 +02:00
.collections feat: Add support for Ubuntu 24.04 LTS + Fedora 40 2024-05-31 22:19:11 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 01:27:28 +01:00
.releaserc.yml Update CI 2026-03-06 21:29:50 +01:00
.roles feat: Initial release 2022-10-20 13:09:25 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 01:27:28 +01:00
CHANGELOG.md chore(release): 1.8.0 [skip ci] 2026-08-04 19:21:42 +00:00
README.md Update CI 2026-06-07 16:41:45 +02:00

CI

ansible-role-awx_convert

Convert AWX export into Configuration-as-Code, usable by the role 'awx_import'

Dependencies

Roles

  • deitkrachten.awx_cli

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 81
  • 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
  • Ubuntu 26.04 LTS1
  • Fedora 431
  • Fedora 441

Note: 1 : no automated testing is performed on these platforms

Role Variables

defaults/main.yml


# Host to execute code from
awx_delegation_host: localhost

# Should the hosts & groups be extracted from inventory (only for old exports)
awx_extract_from_inventory: false

# List of AWX resources to convert
awx_convert_resources:
  - settings
  - organizations
  - credential_types
  - credentials
  # - execution_environments
  - inventory
  - inventory_sources
  - job_templates
  - notification_templates
  - projects
  - teams
  - users
  - workflow_job_templates
  # - roles  ## Not yet implemented
  - schedules
  # - applications  ## Not yet implemented
  # - system_job_templates  ## Not yet implemented
  - groups
  - hosts

# Dict of additional variable files
awx_convert_vars:
  credential_types:
    - injectors
    - inputs
  groups:
    - variables
  hosts:
    - variables
  inventory:
    - variables
  inventory_sources:
    - source_vars
  job_templates:
    - extra_vars
  schedules:
    - extra_data
  workflow_job_templates:
    - extra_vars

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'awx_convert' 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_convert'
  hosts: all
  become: 'no'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    awx_export_path: /tmp/awx
    awx_config_path: /tmp/awx1
  tasks:
    - name: Include role 'awx_convert'
      ansible.builtin.include_role:
        name: awx_convert