<commit_before># Puppet module: Ansible

### Table of Contents

1. [Module Description - What the module does and why it is useful](#module-description)
1. [Setup - The basics of getting started with ntp](#setup)
1. [Usage - Configuration options and additional functionality](#usage)
1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
1. [Limitations - OS compatibility, etc.](#limitations)


# Module description

The ansible module installs and configures the Ansible across a range of operating systems and distributions.

# Setup

## Beginning with ansible

`include '::ansible'` is enough to get you up and running. To pass in parameters specifying hosts entries use:

```puppet
  ansible::hosts { 'webservers':
    entrys  => [
      '172.16.0.10', 
      '172.16.0.20',
    ]
  }
```

## Usage

To control all the parameters of the configuration file use the main `::ansible` class. See the common usages below for examples.

### Install ansible

```puppet
  include '::ansible'
```

### Install and specifying hosts

```puppet
include '::ansible'

ansible::hosts { 'databases':
  entrys  => [
    '172.16.0.30', 
    '172.16.0.40',
    ]
}
```

### Change parameter in ansible.cfg

```puppet
class {'ansible':
  roles_path       => /srv/roles,
  timeout          => 30,
  logs_path        => /var/log/ansible.log,
  private_key_file => /etc/keys, 
}
```

## Reference

# Classes

## Public classes

* ansible: Main class, includes all other classes.

## Private classes

* ntp::install: Handles the packages.
* ntp::config: Handles the configuration file.

## Parameters

The following parameters are available in the `::ansible` class:

#### `gather_timeout`

Optional.

Data type: Integer.

Description: 

Default value: `undef`.


#### `accelerate_timeout`

Optional.<commit_msg>Adjust README.md entries<commit_after># Puppet module: Ansible

### Table of Contents

1. [Module Description - What the module does and why it is useful](#module-description)
1. [Setup - The basics of getting started with ntp](#setup)
1. [Usage - Configuration options and additional functionality](#usage)
1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)
1. [Limitations - OS compatibility, etc.](#limitations)


# Module description

The ansible module installs and configures the Ansible across a range of operating systems and distributions.

# Setup

## Beginning with ansible

`include '::ansible'` is enough to get you up and running. To pass in parameters specifying hosts entries use:

```puppet
  ansible::hosts { 'webservers':
    entrys  => [
      '172.16.0.10', 
      '172.16.0.20',
    ]
  }
```

## Usage

To control all the parameters of the configuration file use the main `::ansible` class. See the common usages below for examples.

### Install ansible

```puppet
  include '::ansible'
```

### Install and specifying hosts

```puppet
include '::ansible'

ansible::hosts { 'databases':
  entrys  => [
    '172.16.0.30', 
    '172.16.0.40',
    ]
}
```

### Change parameter in ansible.cfg

```puppet
class {'ansible':
  roles_path       => /srv/roles,
  timeout          => 30,
  logs_path        => /var/log/ansible.log,
  private_key_file => /etc/keys, 
}
```

# Reference

## Defined Types

* `hosts` - Set hosts entries

## Classes

### Public classes

* ansible: Main class, includes all other classes.

### Private classes

* ntp::install: Handles the packages.
* ntp::config: Handles the configuration file.

## Parameters

The following parameters are available in the `::ansible` class:

#### `gather_timeout`

Optional.

Data type: Integer.

Description: 

Default value: `undef`.


#### `accelerate_timeout`

Optional.
{'fraction_non_alphanumeric': 0.12668101129639592, 'fraction_numerical': 0.02097902097902098, 'mean_word_length': 3.63715710723192, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 8, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '583696', 'n_tokens_mistral': 1240, 'n_tokens_neox': 1146, 'n_words': 399}