All skills
akin-ozer avatar

/ansible-generator

@1b2342a

Generate, create, or scaffold Ansible playbooks, roles, tasks, handlers, inventory, vars.

Use this Skill: https://skilld.dev/gh/akin-ozer/cc-devops-skills/ansible-generator

This session only. Nothing lands on disk.

assetstemplatesroleREADME.md

≈421 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Ansible Role: [ROLE_NAME]

[Brief description of what this role does]

Requirements

  • Ansible 2.10 or higher
  • Supported platforms:
    • Ubuntu 20.04, 22.04, 24.04
    • Debian 11, 12
    • RHEL/CentOS/Rocky 8, 9

Role Variables

Required Variables

# [var_name]: [description]

Optional Variables

# Package and service
[role_name]_package_name: [package_name]  # Package to install
[role_name]_service_name: [service_name]  # Service name
[role_name]_version: latest                # Version to install

# Directories
[role_name]_config_dir: /etc/[service_name]
[role_name]_data_dir: /var/lib/[service_name]
[role_name]_log_dir: /var/log/[service_name]

# Configuration
[role_name]_port: [default_port]
[role_name]_bind_address: 0.0.0.0
[role_name]_max_connections: 100

# Features
[role_name]_enable_ssl: false
[role_name]_enable_monitoring: true

Dependencies

None.

Example Playbook

- hosts: servers
  become: true
  roles:
    - role: [role_name]
      vars:
        [role_name]_port: [custom_port]
        [role_name]_enable_ssl: true

Example with Variables

- hosts: production
  become: true
  vars:
    [role_name]_port: [custom_port]
    [role_name]_max_connections: 200
    [role_name]_enable_ssl: true
    [role_name]_ssl_cert: /etc/ssl/certs/app.crt
    [role_name]_ssl_key: /etc/ssl/private/app.key
  roles:
    - [role_name]

Tags

  • install - Installation tasks
  • configure - Configuration tasks
  • service - Service management tasks
  • packages - Package installation
  • directories - Directory creation

License

MIT

Author Information

[Author Name] [Contact Information]

Source: SKILL.md on GitHub

No alerts16d4 checks · Risk SAFE
  • Gen Agent Trust Hub16d

    The skill is an Ansible project generator designed to scaffold playbooks, roles, and configuration files. It incorporates security best practices such as enforcing Fully Qualified Collection Names (FQCN), ensuring idempotency, and providing templates for secrets management using 'no_log'. No malicious patterns were identified.

  • Socket16d

    No alerts

  • Snyk16d

    Risk: LOW · No issues

  • ZeroLeaks5mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1b2342a. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Steadyupdated 7 months ago

README badge

README badge for akin-ozer/cc-devops-skills/ansible-generator