Skip to content

Latest commit

 

History

History
51 lines (37 loc) · 831 Bytes

File metadata and controls

51 lines (37 loc) · 831 Bytes

Template Ansible Role Boilerplate

Use this template as the base of Ansible roles.

Templating Variables

Replace field that have # TODO comments and remove the comment.

Supported Versions

Package Version
ansible 9.6.0
molecule 24.2.1
molecule-plugins[openstack] 23.5.3

Ansible role README file structure

Use the below structure for your Ansible role README.md:

ansible-role-xxx
================

# Description of your Ansible role.

Requirements
------------

**None**

Role Variables
--------------

**None**

Example Playbook
----------------

```
- hosts: all
  become: true
  roles:
    - role: ansible-role-xxx
      vars:
        disable_root_login: true
```