<commit_before>---
platforms:
  - name: debian-7
    transport:
      username: admin
    # Only 1.7.2 is installed by default. Use source method
    # to pull down Ansible 2.0
    # provisioner:
    #   require_ansible_source: true
    #   ansible_source_rev: stable-2.0
    driver:
      tags:
        Name: ansible-test-kitchen-role-redis-debian-7
        CreatedBy: test-kitchen
        TestKitchenRole: redis
        TestKitchenPlatform: debian-7
  - name: centos-7
    transport:
      username: centos
    # Ruby 2.0 is installed in custom location. Override
    # these calls to ensure that serverspec can be installed
    # and run on the machine (otherwise it won't be found)
    verifier:
      bundler_path: /opt/rh/ruby200/root/usr/local/bin
      rspec_path: /opt/rh/ruby200/root/usr/local/bin
    driver:
      tags:
        Name: ansible-test-kitchen-role-redis-centos-7
        CreatedBy: test-kitchen
        TestKitchenRole: redis
        TestKitchenPlatform: centos-7

# NOTE: This is broken at the moment as it requires two
#       converge runs before Ansible will be installed.
#
# - name: debian-8
#   transport:
#     username: admin
#   # Only 1.7.2 is installed by default. Use source method
#   # to pull down Ansible 2.0
#   provisioner:
#     require_ansible_source: true
#     ansible_source_rev: stable-2.0
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-debian-8
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: debian-8
# - name: centos-6
#   transport:
#     username: centos
#   # Ruby 2.0 is installed in custom location. Override
#   # these calls to ensure that serverspec can be installed
#   # and run on the machine (otherwise it won't be found)
#   verifier:
#     bundler_path: /opt/rh/ruby200/root/usr/local/bin
#     rspec_path: /opt/rh/ruby200/root/usr/local/bin
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-centos-6
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: centos-6
# - name: ubuntu-14.04
#   transport:
#     username: ubuntu
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-ubuntu-1404
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: ubuntu-14.04
# - name: ubuntu-16.04
#   transport:
#     username: ubuntu
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-ubuntu-1604
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: ubuntu-16.04

suites:
  - name: redis
    verifier:
      patterns:
        - "roles/*/test/integration/redis/serverspec/*_spec.rb"

provisioner:
  name: ansible_playbook
  hosts: all
  require_ruby_for_busser: true
  require_chef_for_busser: false

verifier:
  name: serverspec
  sudo_path: true
<commit_msg>Try omnibus for pip-based install in test-kitchen<commit_after>---
platforms:
  - name: debian-7
    transport:
      username: admin
    # Only 1.7.2 is installed by default. Use source method
    # to pull down Ansible 2.0
    # provisioner:
    #   require_ansible_source: true
    #   ansible_source_rev: stable-2.0
    driver:
      tags:
        Name: ansible-test-kitchen-role-redis-debian-7
        CreatedBy: test-kitchen
        TestKitchenRole: redis
        TestKitchenPlatform: debian-7
  - name: centos-7
    transport:
      username: centos
    # Ruby 2.0 is installed in custom location. Override
    # these calls to ensure that serverspec can be installed
    # and run on the machine (otherwise it won't be found)
    verifier:
      bundler_path: /opt/rh/ruby200/root/usr/local/bin
      rspec_path: /opt/rh/ruby200/root/usr/local/bin
    driver:
      tags:
        Name: ansible-test-kitchen-role-redis-centos-7
        CreatedBy: test-kitchen
        TestKitchenRole: redis
        TestKitchenPlatform: centos-7

# NOTE: This is broken at the moment as it requires two
#       converge runs before Ansible will be installed.
#
# - name: debian-8
#   transport:
#     username: admin
#   # Only 1.7.2 is installed by default. Use source method
#   # to pull down Ansible 2.0
#   provisioner:
#     require_ansible_source: true
#     ansible_source_rev: stable-2.0
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-debian-8
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: debian-8
# - name: centos-6
#   transport:
#     username: centos
#   # Ruby 2.0 is installed in custom location. Override
#   # these calls to ensure that serverspec can be installed
#   # and run on the machine (otherwise it won't be found)
#   verifier:
#     bundler_path: /opt/rh/ruby200/root/usr/local/bin
#     rspec_path: /opt/rh/ruby200/root/usr/local/bin
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-centos-6
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: centos-6
# - name: ubuntu-14.04
#   transport:
#     username: ubuntu
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-ubuntu-1404
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: ubuntu-14.04
# - name: ubuntu-16.04
#   transport:
#     username: ubuntu
#   driver:
#     tags:
#       Name: ansible-test-kitchen-role-redis-ubuntu-1604
#       CreatedBy: test-kitchen
#       TestKitchenRole: redis
#       TestKitchenPlatform: ubuntu-16.04

suites:
  - name: redis
    verifier:
      patterns:
        - "roles/*/test/integration/redis/serverspec/*_spec.rb"

provisioner:
  name: ansible_playbook
  hosts: all
  require_ansible_omnibus: true
  require_ruby_for_busser: true
  require_chef_for_busser: false

verifier:
  name: serverspec
  sudo_path: true

{'fraction_non_alphanumeric': 0.09666782367233599, 'fraction_numerical': 0.022908712252690037, 'mean_word_length': 2.572845629262244, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '6218693', 'n_tokens_mistral': 2062, 'n_tokens_neox': 1946, 'n_words': 472}