<commit_before># FansibleDevopsBundle

This will help you to generate a Ansible provisioning to run your Symfony apps.

##Requirements
This have been tested with the Ubuntu OS. It should work with many other various Linux distribution. Feel free to share your advice for the other OS..
You will need to install if you haven't done yet:

* [Ansible](http://docs.ansible.com/intro_installation.html)
* [Composer](https://getcomposer.org/download/)
* [Vagrant](http://www.vagrantup.com/downloads.html)
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
* nfs `sudo apt-get install nfs-kernel-server`

1) Install the bundle

    composer require fansible/devops-bundle *@dev --dev

2) Enable the bundle in the `app/AppKernel.php` file.

Add `$bundles[] = new \Fansible\DevopsBundle\FansibleDevopsBundle();`

3) Add the following in your configuration in `app/config/config.yml`

    fansible_devops:
      #Name of your project
      name: fansible-devops
      environments:
        vagrant:
          ip: 10.0.0.10
          host: fansible-devops.dev
          #Those vars will be used to generate the VagrantFile
          #box: ubuntu/trusty64
          #memory: 1024
          #cpus: 1
          #exec: 100<commit_msg>Mention dev environment in the README<commit_after># FansibleDevopsBundle

This will help you to generate a Ansible provisioning to run your Symfony apps.

##Requirements
This have been tested with the Ubuntu OS. It should work with many other various Linux distribution. Feel free to share your advice for the other OS..
You will need to install if you haven't done yet:

* [Ansible](http://docs.ansible.com/intro_installation.html)
* [Composer](https://getcomposer.org/download/)
* [Vagrant](http://www.vagrantup.com/downloads.html)
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads).
* nfs `sudo apt-get install nfs-kernel-server`

1) Install the bundle

    composer require fansible/devops-bundle *@dev --dev

2) Enable the bundle in the `app/AppKernel.php` file, for development environment only.

```
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
    /* After other dev dependencies... */
    $bundles[] = new \Fansible\DevopsBundle\FansibleDevopsBundle();
}
```

3) Add the following in your configuration in `app/config/config_dev.yml`

    fansible_devops:
      #Name of your project
      name: fansible-devops
      environments:
        vagrant:
          ip: 10.0.0.10
          host: fansible-devops.dev
          #Those vars will be used to generate the VagrantFile
          #box: ubuntu/trusty64
          #memory: 1024
          #cpus: 1
          #exec: 100
{'fraction_non_alphanumeric': 0.10384176492963104, 'fraction_numerical': 0.014454165081780145, 'mean_word_length': 3.221508828250401, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6010228', 'n_tokens_mistral': 847, 'n_tokens_neox': 796, 'n_words': 261}