| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 |
- ---
- scenario:
- name: ubuntu
- dependency:
- name: galaxy
- driver:
- name: docker
- lint:
- name: yamllint
- enabled: True
- platforms:
- - name: ubuntu-14.04
- image: dokken/ubuntu-14.04
- command: /sbin/init
- capabilities:
- - SYS_ADMIN
- - name: ubuntu-16.04
- image: dokken/ubuntu-16.04
- command: /bin/systemd
- capabilities:
- - SYS_ADMIN
- volumes:
- - /sys/fs/cgroup:/sys/fs/cgroup:ro
- # Disabled for now, missing Sensu and RabbitMQ packages, total mess to override in tests
- # - name: ubuntu-18.04
- # image: dokken/ubuntu-18.04
- # command: /bin/systemd
- # capabilities:
- # - SYS_ADMIN
- # volumes:
- # - /sys/fs/cgroup:/sys/fs/cgroup:ro
- provisioner:
- name: ansible
- config_options:
- defaults:
- callback_whitelist: timer,profile_tasks
- fact_caching: jsonfile
- fact_caching_connection: ./cache
- poll_interval: 3
- forks: 100
- connection:
- pipelining: true
- playbooks:
- prepare: ../shared/prepare.yml
- create: ../shared/create.yml
- destroy: ../shared/destroy.yml
- converge: ../shared/playbook.yml
- verify: ../shared/verify.yml
- lint:
- name: ansible-lint
- enabled: True
- inventory:
- group_vars:
- all:
- sensu_master: true
- sensu_include_dashboard: true
- rabbitmq_server: true
- redis_server: true
- rabbitmq_host: "{{ ansible_hostname }}"
- redis_host: "{{ ansible_hostname }}"
- sensu_api_host: "{{ ansible_hostname }}"
- ansible_default_ipv4:
- address: 127.0.0.1
- host_vars:
- ubuntu-14.04:
- inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/14.04/inspec_2.1.68-1_amd64.deb
- inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
- ubuntu-16.04:
- inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/16.04/inspec_2.1.68-1_amd64.deb
- inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
- ubuntu-18.04:
- inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/18.04/inspec_2.1.68-1_amd64.deb
- inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
- verifier:
- name: inspec
- directory: ../shared/tests/
- lint:
- name: rubocop
- enabled: true
|