molecule.yml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. ---
  2. dependency:
  3. name: galaxy
  4. driver:
  5. name: docker
  6. lint:
  7. name: yamllint
  8. enabled: True
  9. platforms:
  10. - name: debian-8
  11. image: dokken/debian-8
  12. command: /lib/systemd/systemd
  13. privileged: yes
  14. volumes:
  15. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  16. - name: debian-9
  17. image: dokken/debian-9
  18. command: /lib/systemd/systemd
  19. capabilities:
  20. - SYS_ADMIN
  21. volumes:
  22. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  23. - name: ubuntu-14.04
  24. image: dokken/ubuntu-14.04
  25. command: /sbin/init
  26. capabilities:
  27. - SYS_ADMIN
  28. - name: ubuntu-16.04
  29. image: dokken/ubuntu-16.04
  30. command: /bin/systemd
  31. capabilities:
  32. - SYS_ADMIN
  33. volumes:
  34. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  35. - name: ubuntu-18.04
  36. image: dokken/ubuntu-18.04
  37. command: /bin/systemd
  38. capabilities:
  39. - SYS_ADMIN
  40. volumes:
  41. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  42. - name: centos-6
  43. image: dokken/centos-6
  44. command: /sbin/init
  45. capabilities:
  46. - SYS_ADMIN
  47. - name: centos-7
  48. image: dokken/centos-7
  49. command: /usr/lib/systemd/systemd
  50. capabilities:
  51. - SYS_ADMIN
  52. volumes:
  53. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  54. - name: fedora-26
  55. image: dokken/fedora-26
  56. command: /usr/lib/systemd/systemd
  57. capabilities:
  58. - SYS_ADMIN
  59. volumes:
  60. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  61. - name: fedora-27
  62. image: dokken/fedora-27
  63. command: /usr/lib/systemd/systemd
  64. capabilities:
  65. - SYS_ADMIN
  66. volumes:
  67. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  68. - name: fedora-28
  69. image: dokken/fedora-latest
  70. command: /usr/lib/systemd/systemd
  71. capabilities:
  72. - SYS_ADMIN
  73. volumes:
  74. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  75. - name: amazonlinux-1
  76. image: dokken/amazonlinux
  77. command: /sbin/init
  78. capabilities:
  79. - SYS_ADMIN
  80. - name: amazonlinux-2
  81. image: dokken/amazonlinux-2
  82. command: /usr/lib/systemd/systemd
  83. capabilities:
  84. - SYS_ADMIN
  85. volumes:
  86. - /sys/fs/cgroup:/sys/fs/cgroup:ro
  87. provisioner:
  88. name: ansible
  89. directory: ../default/
  90. lint:
  91. name: ansible-lint
  92. enabled: True
  93. inventory:
  94. group_vars:
  95. all:
  96. sensu_master: true
  97. sensu_include_dashboard: true
  98. rabbitmq_server: true
  99. redis_server: true
  100. rabbitmq_host: "{{ ansible_hostname }}"
  101. redis_host: "{{ ansible_hostname }}"
  102. sensu_api_host: "{{ ansible_hostname }}"
  103. ansible_default_ipv4:
  104. address: 127.0.0.1
  105. host_vars:
  106. debian-8:
  107. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/16.04/inspec_2.1.68-1_amd64.deb
  108. inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
  109. debian-9:
  110. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/16.04/inspec_2.1.68-1_amd64.deb
  111. inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
  112. ubuntu-14.04:
  113. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/14.04/inspec_2.1.68-1_amd64.deb
  114. inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
  115. ubuntu-16.04:
  116. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/ubuntu/16.04/inspec_2.1.68-1_amd64.deb
  117. inspec_download_sha256sum: bb411271af5275c26f0129a61230a1080d22a6e99eb0f1b52223ee9d55827375
  118. centos-6:
  119. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/el/6/inspec-2.1.68-1.el6.x86_64.rpm
  120. inspec_download_sha256sum: a62bc8d8ea803a72b7e834f5993c1d9eab50539293365a067cd29736daeb3fea
  121. centos-7:
  122. inspec_download_url: https://packages.chef.io/files/stable/inspec/2.1.68/el/7/inspec-2.1.68-1.el7.x86_64.rpm
  123. inspec_download_sha256sum: 54fb2aab023a228c8f622653daabed14f2345780ec978670dbd262a63ad06fe9
  124. scenario:
  125. name: default
  126. verifier:
  127. name: inspec
  128. directory: ../default/tests/
  129. lint:
  130. name: rubocop
  131. enabled: true