No description
Find a file
semantic-release-bot fe6d44af4a chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/de-it-krachten/ansible-role-ansiblenode/compare/v1.7.0...v1.8.0) (2026-07-26)

### Features

* Add support for ansible-core 2.20+ ([fbe09ef](fbe09ef896))
* Added support for Fedora 44 ([eb155d5](eb155d5938))
* Added support for Ubuntu 26.04 LTS ([8f31a41](8f31a4160c))
* Drop support for Fedora 42 ([3c9e053](3c9e0538ee))
2026-07-26 19:50:27 +00:00
.github/workflows Update CI 2026-07-22 22:54:17 +02:00
defaults feat: Add support for external/AD user 2024-05-30 22:01:17 +02:00
meta Update CI 2026-06-07 16:37:40 +02:00
molecule/default Update CI 2026-07-25 16:11:31 +02:00
tasks feat: Add support for ansible-core 2.20+ 2026-06-07 16:24:16 +02:00
templates feat: Add support for allowing specific command via passwordless sudo 2024-06-04 15:45:25 +02:00
.ansible-lint Update CI 2026-06-07 16:37:40 +02:00
.cicd Update CI 2026-06-09 10:38:36 +02:00
.cicd.overwrite Move EPEL to prepare step 2026-07-23 17:56:56 +02:00
.collections feat: Add support for external/AD user 2024-05-30 22:01:17 +02:00
.gitignore feat: Update supported platforms & CI 2024-12-29 01:05:27 +01:00
.releaserc.yml Update CI 2026-03-06 20:39:04 +01:00
.roles Initial commit 2023-02-16 14:21:59 +01:00
.yamllint feat: Update supported platforms & CI 2024-12-29 01:05:27 +01:00
CHANGELOG.md chore(release): 1.8.0 [skip ci] 2026-07-26 19:50:27 +00:00
README.md Update CI 2026-06-07 16:37:40 +02:00

CI

ansible-role-ansiblenode

Role for setting up system as Ansible managed node

Dependencies

Roles

  • deitkrachten.epel
  • deitkrachten.facts
  • deitkrachten.python

Collections

  • ansible.posix

Platforms

Supported platforms

  • Red Hat Enterprise Linux 81
  • Red Hat Enterprise Linux 91
  • Red Hat Enterprise Linux 101
  • CentOS 71
  • RockyLinux 8
  • RockyLinux 9
  • RockyLinux 10
  • OracleLinux 8
  • OracleLinux 9
  • OracleLinux 10
  • AlmaLinux 8
  • AlmaLinux 9
  • AlmaLinux 10
  • Debian 11 (Bullseye)
  • Debian 12 (Bookworm)
  • Debian 13 (Trixie)
  • Ubuntu 20.04 LTS
  • Ubuntu 22.04 LTS
  • Ubuntu 24.04 LTS
  • Ubuntu 26.04 LTS
  • Fedora 43
  • Fedora 441

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

Role Variables

defaults/main.yml


# Install pre-requisits for ansible managed node
ansiblenode_install_prereqs: false

# User registry where users resides (local or external)
ansiblenode_local_user: true

# Service to query (for external users)
ansiblenode_service: sss

# ansible user
ansiblenode_user_name: ansible

# Ansible group
ansiblenode_group_name: ansible

# Ansible users home directory
ansiblenode_user_home: /home/{{ ansiblenode_user_name }}

# Ansible user shell
ansiblenode_shell: /bin/bash

# Set-up sudo for ansible user
ansiblenode_sudo: true
ansiblenode_sudo_passwordless: true

# List of SSH public keys to allow access
ansiblenode_pubkeys: []

Example Playbook

molecule/default/converge.yml


- name: sample playbook for role 'ansiblenode'
  hosts: all
  become: 'yes'
  vars:
    molecule_driver: '{{ lookup(''env'', ''MOLECULE_DRIVER_NAME'') }}'
    ansiblenode_install_prereqs: true
  tasks:
    - name: Include role 'ansiblenode'
      ansible.builtin.include_role:
        name: ansiblenode