No description
Find a file
semantic-release-bot 86433a5aa2 chore(release): 1.11.0 [skip ci]
# [1.11.0](https://github.com/de-it-krachten/ansible-role-awx_casc/compare/v1.10.0...v1.11.0) (2026-04-17)

### Features

* Add support for scheduling job templates ([8056de2](8056de2206))
* Add support for scheduling project updates ([f0aa42f](f0aa42f2b1))
* Add support for scheduling workflow templates ([f404522](f4045224fe))
* Add support for Ubuntu 26.04 LTS ([94ef866](94ef8669b0))
2026-04-17 12:29:33 +00:00
.github/workflows feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00
defaults feat: Add support for job template extra-vars in YAML 2026-03-05 12:47:30 +01:00
meta Update CI 2026-03-06 21:28:45 +01:00
molecule/default feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00
tasks feat: Add support for scheduling job templates 2026-04-17 14:07:11 +02:00
.ansible-lint feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00
.cicd feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00
.cicd.overwrite feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00
.collections fix: Fix wrong variables for vars/inputs 2024-02-11 12:13:05 +01:00
.gitignore feat: Update supported platforms & CI 2024-12-29 01:25:25 +01:00
.releaserc.yml Update CI 2026-03-05 17:48:44 +01:00
.roles feat: Initial release 2022-10-20 14:46:54 +02:00
.yamllint feat: Update supported platforms & CI 2024-12-29 01:25:25 +01:00
CHANGELOG.md chore(release): 1.11.0 [skip ci] 2026-04-17 12:29:33 +00:00
README.md feat: Add support for Ubuntu 26.04 LTS 2026-04-17 14:11:37 +02:00

CI

ansible-role-awx_casc

Import AWX configuration using Configuration-as-Code

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 421
  • Fedora 431

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

# For inventory/host/group, you can replace variable values during creation
# In order not to replace intended dynamic variables, use the following markers
# awx_variable_jinja_block_start: "<%"
# awx_variable_jinja_block_end: "%>"
# awx_variable_jinja_variable_start: "<="
# awx_variable_jinja_variable_end: "=>"

# Full path to the awxkit / awx command
awx_command: awx

# Host to execute code from
awx_execution_host: localhost

# Should creation of AWX hosts be created
awx_create_hosts: true

# Check if hosts exist in DNS
awx_host_dns_check: false

# List of hosts that no longer exists (dynamically created)
awx_hosts_non_existing: []

# 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 get configuration files from
# awx_config_path: /tmp/awx

# Skip creating hosts and assigning hosts to groups
awx_casc_skip_hosts: false

# Forcingly recreate workflow templates
awx_workflow_job_template_recreate: false

# Format for variables & input files and extra vars of job templates
awx_vars_format: json
awx_inputs_format: json
awx_template_format: yaml

# List of resources to export
awx_casc_resources:
  - settings
  - organizations
  - credential_types
  - credentials
  - execution_environments
  - inventory
  - inventory_sources
  - { name: projects, ignore_errors: true }
  - { name: job_templates, ignore_errors: true }
  - notification_templates
  - organizations
  - teams
  - users
  - workflow_job_templates
  # - roles  ## not yet
  - schedules
  # - applications  ## not yet
  # - system_job_templates  ## not yet
  - hosts
  - groups

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'awx_casc' 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_casc'
  hosts: all
  become: 'no'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    awx_venv_root: /usr/local/venv/awxkit
    awx_command: /usr/local/bin/awx
    awx_config_path: /tmp/awx-config
    awx_password: Admin123!
  tasks:
    - name: Include role 'awx_casc'
      ansible.builtin.include_role:
        name: awx_casc