mirror of
https://github.com/de-it-krachten/ansible-role-ansiblenode
synced 2026-05-14 11:41:41 +00:00
No description
- Jinja 100%
# [1.7.0](https://github.com/de-it-krachten/ansible-role-ansiblenode/compare/v1.6.0...v1.7.0) (2026-03-15) ### Features * Added support for Fedora 43 ([ |
||
|---|---|---|
| .github/workflows | ||
| defaults | ||
| meta | ||
| molecule/default | ||
| tasks | ||
| templates | ||
| .ansible-lint | ||
| .cicd | ||
| .cicd.overwrite | ||
| .collections | ||
| .gitignore | ||
| .releaserc.yml | ||
| .roles | ||
| .yamllint | ||
| CHANGELOG.md | ||
| README.md | ||
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
- Fedora 42
- Fedora 43
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