.gitlab-ci.yml 47.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
# .. vim: foldmarker=[[[,]]]:foldmethod=marker

# Test DebOps roles and playbooks using Gitlab CI, Vagrant and Jane
#
# Copyright (C) 2017 Maciej Delmanowski <drybjed@gmail.com>
# Copyright (C) 2017 DebOps https://debops.org/


# This file is part of DebOps.
#
# DebOps is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 3, as
# published by the Free Software Foundation.
#
# DebOps is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with DebOps. If not, see https://www.gnu.org/licenses/.

---

variables:
  TEST_PLAYBOOKS: '/vagrant/lib/tests/playbooks'
  DEBOPS_PLAYBOOKS:  '/vagrant/ansible/playbooks'
  VAGRANT_DOTFILE_PATH: '/var/tmp/vagrant-dotfile-${CI_JOB_ID}'
  GIT_STRATEGY: 'clone'
  TERM: 'xterm'

stages:

  - 'DebOps roles (no deps)'
  - 'DebOps roles (1st deps)'
  - 'DebOps roles (2nd deps)'
  - 'DebOps roles (3rd deps)'
  - 'DebOps roles (4th deps)'
  - 'DebOps roles (5th deps)'
  - 'DebOps roles (6th deps)'


# === Role testing templates === [[[1

.tpl_test_role_base: &test_role_base
  tags: [ 'shell', 'vagrant' ]
  before_script:
    - './lib/tests/jane gitlab before_script'
  script:
    - './lib/tests/jane gitlab script'
  after_script:
    - './lib/tests/jane gitlab after_script'
53
  retry: 1
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86


.tpl_test_role_no_deps: &test_role_no_deps
  <<: *test_role_base
  stage: 'DebOps roles (no deps)'

.tpl_test_role_1st_deps: &test_role_1st_deps
  <<: *test_role_base
  stage: 'DebOps roles (1st deps)'

.tpl_test_role_2nd_deps: &test_role_2nd_deps
  <<: *test_role_base
  stage: 'DebOps roles (2nd deps)'

.tpl_test_role_3rd_deps: &test_role_3rd_deps
  <<: *test_role_base
  stage: 'DebOps roles (3rd deps)'

.tpl_test_role_4th_deps: &test_role_4th_deps
  <<: *test_role_base
  stage: 'DebOps roles (4th deps)'

.tpl_test_role_5th_deps: &test_role_5th_deps
  <<: *test_role_base
  stage: 'DebOps roles (5th deps)'

.tpl_test_role_6th_deps: &test_role_6th_deps
  <<: *test_role_base
  stage: 'DebOps roles (6th deps)'


# === Ansible roles === [[[1

87 88 89 90 91 92 93 94 95 96 97
# --- ansible --- [[[2

'ansible role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ansible.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_ansible'
    JANE_DIFF_PATTERN: '.*/debops.ansible/.*'
    JANE_LOG_PATTERN: '\[debops\.ansible\]'


98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139
# --- apache --- [[[2

'apache role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apache.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apache'
    JANE_DIFF_PATTERN: '.*/debops.apache/.*'
    JANE_LOG_PATTERN: '\[debops\.apache\]'


# --- apt --- [[[2

'apt role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt/.*'
    JANE_LOG_PATTERN: '\[debops\.apt\]'

'apt_cacher_ng role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_cacher_ng.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt_cacher_ng'
    JANE_DIFF_PATTERN: '.*/debops.apt_cacher_ng/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_cacher_ng\]'

'apt_listchanges role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_listchanges.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt_listchanges/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_listchanges\]'

'apt_install role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_install.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt_install/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_install\]'

140 141 142 143 144 145 146
'apt_mark role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_mark.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt_mark/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_mark\]'

147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272
'apt_preferences role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_preferences.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt_preferences/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_preferences\]'

'apt_proxy role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt_proxy.yml'
    JANE_DIFF_PATTERN: '.*/debops.apt_proxy/.*'
    JANE_LOG_PATTERN: '\[debops\.apt_proxy\]'


# --- atd --- [[[2

'atd role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/atd.yml'
    JANE_DIFF_PATTERN: '.*/debops.atd/.*'
    JANE_LOG_PATTERN: '\[debops\.atd\]'


# --- auth --- [[[2

'auth role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/auth.yml'
    JANE_DIFF_PATTERN: '.*/debops.auth/.*'
    JANE_LOG_PATTERN: '\[debops\.auth\]'

'authorized_keys role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/authorized_keys.yml'
    JANE_DIFF_PATTERN: '.*/debops.authorized_keys/.*'
    JANE_LOG_PATTERN: '\[debops\.authorized_keys\]'


# --- avahi --- [[[2

'avahi role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/avahi.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_avahi'
    JANE_DIFF_PATTERN: '.*/debops.avahi/.*'
    JANE_LOG_PATTERN: '\[debops\.avahi\]'


# --- b --- [[[2

# At the moment BoxBackup role is broken, needs to be updated.
#'boxbackup role':
#  <<: *test_role_1st_deps
#  variables:
#    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/boxbackup.yml'
#    JANE_INVENTORY_GROUPS: 'debops_service_boxbackup'
#    JANE_DIFF_PATTERN: '.*/debops.boxbackup/.*'
#    JANE_LOG_PATTERN: '\[debops\.boxbackup\]'


# --- c --- [[[2

'common playbook':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/common.yml'
    JANE_DIFF_PATTERN: '.*/playbooks\/common\.yml/.*'
    JANE_LOG_PATTERN: '\[common playbook\]'
  tags: [ 'shell', 'vagrant-vm' ]

'console role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/console.yml'
    JANE_DIFF_PATTERN: '.*/debops.console/.*'
    JANE_LOG_PATTERN: '\[debops\.console\]'

'core role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/core.yml'
    JANE_DIFF_PATTERN: '.*/debops.core/.*'
    JANE_LOG_PATTERN: '\[debops\.core\]'

'cran role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/cran.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_cran'
    JANE_DIFF_PATTERN: '.*/debops.cran/.*'
    JANE_LOG_PATTERN: '\[debops\.cran\]'

'cron role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/cron.yml'
    JANE_DIFF_PATTERN: '.*/debops.cron/.*'
    JANE_LOG_PATTERN: '\[debops\.cron\]'

'cryptsetup role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/cryptsetup.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_cryptsetup'
    JANE_DIFF_PATTERN: '.*/debops.cryptsetup/.*'
    JANE_LOG_PATTERN: '\[debops\.cryptsetup\]'
  tags: [ 'shell', 'vagrant-vm' ]

'cryptsetup/persistent_paths role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/cryptsetup-persistent_paths.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_cryptsetup_persistent_paths'
    JANE_DIFF_PATTERN: '.*/debops.cryptsetup/.*'
    JANE_LOG_PATTERN: '\[debops\.cryptsetup\]'
  tags: [ 'shell', 'vagrant-vm' ]


# --- d --- [[[2

'debops role':
273
  <<: *test_role_2nd_deps
274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/debops.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_debops'
    JANE_DIFF_PATTERN: '.*/debops.debops/.*'
    JANE_LOG_PATTERN: '\[debops\.debops\]'

# The 'debops_api' role is currently broken, needs to be updated.
#'debops_api role':
#  <<: *test_role_2nd_deps
#  variables:
#    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/debops_api.yml'
#    JANE_INVENTORY_GROUPS: 'debops_service_debops_api'
#    JANE_DIFF_PATTERN: '.*/debops.debops_api/.*'
#    JANE_LOG_PATTERN: '\[debops\.debops_api\]'

'debops_fact role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/debops_fact.yml'
    JANE_DIFF_PATTERN: '.*/debops.debops_fact/.*'
    JANE_LOG_PATTERN: '\[debops\.debops_fact\]'

296 297 298 299 300 301 302
'debops_legacy role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/debops_legacy.yml'
    JANE_DIFF_PATTERN: '.*/debops.debops_legacy/.*'
    JANE_LOG_PATTERN: '\[debops\.debops_legacy\]'

303 304 305 306 307 308 309 310
'dhcp_probe role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/dhcp_probe.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_dhcp_probe'
    JANE_DIFF_PATTERN: '.*/debops.dhcp_probe/.*'
    JANE_LOG_PATTERN: '\[debops\.dhcp_probe\]'

311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329
'dhcpd role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/dhcpd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_dhcpd'
    JANE_DIFF_PATTERN: '.*/debops.dhcpd/.*'
    JANE_LOG_PATTERN: '\[debops\.dhcpd\]'

'dhparam role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/dhparam.yml'
    JANE_DIFF_PATTERN: '.*/debops.dhparam/.*'
    JANE_LOG_PATTERN: '\[debops\.dhparam\]'

'dnsmasq role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ifupdown.yml ${DEBOPS_PLAYBOOKS}/service/dnsmasq.yml'
330
    JANE_INVENTORY_DIRS: 'common dnsmasq'
331 332 333 334 335 336 337 338 339
    JANE_INVENTORY_GROUPS: 'debops_service_ifupdown,debops_service_dnsmasq'
    JANE_DIFF_PATTERN: '.*/debops.dnsmasq/.*'
    JANE_LOG_PATTERN: '\[debops\.dnsmasq\]'
  tags: [ 'shell', 'vagrant-vm' ]

'dnsmasq/persistent_paths role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ifupdown.yml ${DEBOPS_PLAYBOOKS}/service/dnsmasq-persistent_paths.yml'
340
    JANE_INVENTORY_DIRS: 'common dnsmasq'
341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
    JANE_INVENTORY_GROUPS: 'debops_service_ifupdown,debops_service_dnsmasq_persistent_paths'
    JANE_DIFF_PATTERN: '.*/debops.dnsmasq/.*'
    JANE_LOG_PATTERN: '\[debops\.dnsmasq\]'
  tags: [ 'shell', 'vagrant-vm' ]

'docker role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/docker.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_docker'
    JANE_DIFF_PATTERN: '.*/debops.docker/.*'
    JANE_LOG_PATTERN: '\[debops\.docker\]'
  tags: [ 'shell', 'vagrant-vm' ]

'docker_gen role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/docker_gen.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_docker_gen'
    JANE_DIFF_PATTERN: '.*/debops.docker_gen/.*'
    JANE_LOG_PATTERN: '\[debops\.docker_gen\]'

363
'docker_registry role':
364
  <<: *test_role_3rd_deps
365 366 367 368 369 370
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/docker_registry.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_docker_registry'
    JANE_DIFF_PATTERN: '.*/debops.docker_registry/.*'
    JANE_LOG_PATTERN: '\[debops\.docker_registry\]'

371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428
'dokuwiki role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/dokuwiki.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_dokuwiki'
    JANE_DIFF_PATTERN: '.*/debops.dokuwiki/.*'
    JANE_LOG_PATTERN: '\[debops\.dokuwiki\]'

'dovecot role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/dovecot.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_dovecot'
    JANE_INVENTORY_HOSTVARS: 'dovecot_pki=false'
    JANE_DIFF_PATTERN: '.*/debops.dovecot/.*'
    JANE_LOG_PATTERN: '\[debops\.dovecot\]'


# --- e --- [[[2

'elastic_co role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/elastic_co.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_elastic_co'
    JANE_DIFF_PATTERN: '.*/debops.elastic_co/.*'
    JANE_LOG_PATTERN: '\[debops\.elastic_co\]'

'elasticsearch role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/elasticsearch.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_elasticsearch'
    JANE_DIFF_PATTERN: '.*/debops.elasticsearch/.*'
    JANE_LOG_PATTERN: '\[debops\.elasticsearch\]'

'environment role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/environment.yml'
    JANE_DIFF_PATTERN: '.*/debops.environment/.*'
    JANE_LOG_PATTERN: '\[debops\.environment\]'

'etc_aliases role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/etc_aliases.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_etc_aliases'
    JANE_DIFF_PATTERN: '.*/debops.etc_aliases/.*'
    JANE_LOG_PATTERN: '\[debops\.etc_aliases\]'

'etc_services role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/etc_services.yml'
    JANE_DIFF_PATTERN: '.*/debops.etc_services/.*'
    JANE_LOG_PATTERN: '\[debops\.etc_services\]'

429 430 431 432 433 434 435 436
'etckeeper role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/etckeeper.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_etckeeper'
    JANE_DIFF_PATTERN: '.*/debops.etckeeper/.*'
    JANE_LOG_PATTERN: '\[debops\.etckeeper\]'

437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
'etherpad role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/etherpad.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_etherpad'
    JANE_DIFF_PATTERN: '.*/debops.etherpad/.*'
    JANE_LOG_PATTERN: '\[debops\.etherpad\]'

'etherpad/mariadb role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/etherpad.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_etherpad'
    JANE_DIFF_PATTERN: '.*/debops.etherpad/.*'
    JANE_LOG_PATTERN: '\[debops\.etherpad\]'
452 453 454 455 456 457 458 459 460

'etherpad/postgresql role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/etherpad.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_etherpad'
    JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
    JANE_DIFF_PATTERN: '.*/debops.etherpad/.*'
    JANE_LOG_PATTERN: '\[debops\.etherpad\]'
461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487


# --- f --- [[[2

'fail2ban role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/fail2ban.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_fail2ban'
    JANE_DIFF_PATTERN: '.*/debops.fail2ban/.*'
    JANE_LOG_PATTERN: '\[debops\.fail2ban\]'

'fcgiwrap role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/fcgiwrap.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_fcgiwrap'
    JANE_DIFF_PATTERN: '.*/debops.fcgiwrap/.*'
    JANE_LOG_PATTERN: '\[debops\.fcgiwrap\]'

'ferm role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ferm.yml'
    JANE_DIFF_PATTERN: '.*/debops.ferm/.*'
    JANE_LOG_PATTERN: '\[debops\.ferm\]'

488 489 490 491 492 493 494 495
'freeradius role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/freeradius.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_freeradius'
    JANE_DIFF_PATTERN: '.*/debops.freeradius/.*'
    JANE_LOG_PATTERN: '\[debops\.freeradius\]'

496 497 498 499 500 501

# --- g --- [[[2

'gitlab role':
  <<: *test_role_3rd_deps
  variables:
502
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/redis_server.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/gitlab.yml'
503
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_redis_server,debops_service_gitlab'
504
    JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
505 506
    JANE_DIFF_PATTERN: '.*/debops.gitlab/.*'
    JANE_LOG_PATTERN: '\[debops\.gitlab\]'
507 508
    VAGRANT_MASTER_MEMORY: '4096'
  tags: [ 'shell', 'vagrant-vm', 'mem-6GB' ]
509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600

'gitlab_runner role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/gitlab_runner.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_gitlab_runner'
    JANE_DIFF_PATTERN: '.*/debops.gitlab_runner/.*'
    JANE_LOG_PATTERN: '\[debops\.gitlab_runner\]'

'gitlab_runner/docker role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/docker.yml ${DEBOPS_PLAYBOOKS}/service/gitlab_runner.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_docker,debops_service_gitlab_runner'
    JANE_DIFF_PATTERN: '.*/debops.gitlab_runner/.*'
    JANE_LOG_PATTERN: '\[debops\.gitlab_runner\]'
  tags: [ 'shell', 'vagrant-vm' ]

'gitlab_runner/libvirt role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/libvirtd.yml ${DEBOPS_PLAYBOOKS}/service/gitlab_runner.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_libvirtd,debops_service_gitlab_runner'
    JANE_DIFF_PATTERN: '.*/debops.gitlab_runner/.*'
    JANE_LOG_PATTERN: '\[debops\.gitlab_runner\]'
  tags: [ 'shell', 'vagrant-vm' ]

'gitlab_runner/lxc role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/lxc.yml ${DEBOPS_PLAYBOOKS}/service/gitlab_runner.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_lxc,debops_service_gitlab_runner'
    JANE_DIFF_PATTERN: '.*/debops.gitlab_runner/.*'
    JANE_LOG_PATTERN: '\[debops\.gitlab_runner\]'
  tags: [ 'shell', 'vagrant-vm' ]

'gitusers role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/gitusers.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_gitusers'
    JANE_DIFF_PATTERN: '.*/debops.gitusers/.*'
    JANE_LOG_PATTERN: '\[debops\.gitusers\]'

'golang role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/golang.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_golang'
    JANE_DIFF_PATTERN: '.*/debops.golang/.*'
    JANE_LOG_PATTERN: '\[debops\.golang\]'

'grub role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/grub.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_grub'
    JANE_DIFF_PATTERN: '.*/debops.grub/.*'
    JANE_LOG_PATTERN: '\[debops\.grub\]'
  tags: [ 'shell', 'vagrant-vm' ]

'gunicorn role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/gunicorn.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_gunicorn'
    JANE_DIFF_PATTERN: '.*/debops.gunicorn/.*'
    JANE_LOG_PATTERN: '\[debops\.gunicorn\]'


# --- h --- [[[2

'hashicorp role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/hashicorp.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_hashicorp'
    JANE_INVENTORY_HOSTVARS: 'hashicorp__applications=[\"consul\",\"consul-template\"]'
    JANE_DIFF_PATTERN: '.*/debops.hashicorp/.*'
    JANE_LOG_PATTERN: '\[debops\.hashicorp\]'

'hwraid role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/hwraid.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_hwraid'
    JANE_DIFF_PATTERN: '.*/debops.hwraid/.*'
    JANE_LOG_PATTERN: '\[debops\.hwraid\]'


# --- i --- [[[2

601 602 603
'icinga role':
  <<: *test_role_1st_deps
  variables:
604 605
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_icinga'
606 607 608 609 610 611
    JANE_DIFF_PATTERN: '.*/debops.icinga/.*'
    JANE_LOG_PATTERN: '\[debops\.icinga\]'

'icinga_db/mariadb role':
  <<: *test_role_2nd_deps
  variables:
612 613
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_mariadb_server,debops_service_icinga,debops_service_icinga_db'
614 615 616 617 618 619
    JANE_DIFF_PATTERN: '.*/debops.icinga_db/.*'
    JANE_LOG_PATTERN: '\[debops\.icinga_db\]'

'icinga_db/postgresql role':
  <<: *test_role_2nd_deps
  variables:
620 621
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db'
622
    JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
623 624 625 626 627 628
    JANE_DIFF_PATTERN: '.*/debops.icinga_db/.*'
    JANE_LOG_PATTERN: '\[debops\.icinga_db\]'

'icinga_web role':
  <<: *test_role_3rd_deps
  variables:
629 630
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/icinga.yml ${DEBOPS_PLAYBOOKS}/service/icinga_db.yml ${DEBOPS_PLAYBOOKS}/service/icinga_web.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_pki,debops_service_postgresql_server,debops_service_icinga,debops_service_icinga_db,debops_service_icinga_web'
631
    JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
632 633 634
    JANE_DIFF_PATTERN: '.*/debops.icinga_web/.*'
    JANE_LOG_PATTERN: '\[debops\.icinga_web\]'

635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681
'ifupdown role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ifupdown.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_ifupdown'
    JANE_DIFF_PATTERN: '.*/debops.ifupdown/.*'
    JANE_LOG_PATTERN: '\[debops\.ifupdown\]'
  tags: [ 'shell', 'vagrant-vm' ]

'ipxe role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ipxe.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_ipxe'
    JANE_DIFF_PATTERN: '.*/debops.ipxe/.*'
    JANE_LOG_PATTERN: '\[debops\.ipxe\]'

'iscsi role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/iscsi.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_iscsi'
    JANE_DIFF_PATTERN: '.*/debops.iscsi/.*'
    JANE_LOG_PATTERN: '\[debops\.iscsi\]'
  tags: [ 'shell', 'vagrant-vm' ]


# --- j --- [[[2

'java role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/java.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_java'
    JANE_DIFF_PATTERN: '.*/debops.java/.*'
    JANE_LOG_PATTERN: '\[debops\.java\]'


# --- k --- [[[2

'kibana role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/kibana.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_kibana'
    JANE_DIFF_PATTERN: '.*/debops.kibana/.*'
    JANE_LOG_PATTERN: '\[debops\.kibana\]'
682 683
    VAGRANT_MASTER_MEMORY: '2048'
  tags: [ 'mem-2GB' ]
684

685 686 687 688 689 690 691 692
'kmod role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/kmod.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_kmod'
    JANE_DIFF_PATTERN: '.*/debops.kmod/.*'
    JANE_LOG_PATTERN: '\[debops\.kmod\]'

693 694 695

# --- l --- [[[2

696 697 698 699 700
'ldap role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ldap.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_ldap'
701
    JANE_INVENTORY_HOSTVARS: 'ldap__enabled=true'
702 703 704
    JANE_DIFF_PATTERN: '.*/debops.ldap/.*'
    JANE_LOG_PATTERN: '\[debops\.ldap\]'

705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775
'librenms role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/apt.yml ${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/librenms.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_apt,debops_service_mariadb_server,debops_service_librenms'
    JANE_INVENTORY_HOSTVARS: 'apt__nonfree=true librenms__devices=[]'
    JANE_DIFF_PATTERN: '.*/debops.librenms/.*'
    JANE_LOG_PATTERN: '\[debops\.librenms\]'

'libvirt role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/libvirt.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_libvirt'
    JANE_DIFF_PATTERN: '.*/debops.libvirt/.*'
    JANE_LOG_PATTERN: '\[debops\.libvirt\]'
  tags: [ 'shell', 'vagrant-vm' ]

'libvirtd role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/libvirtd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_libvirtd'
    JANE_DIFF_PATTERN: '.*/debops.libvirtd/.*'
    JANE_LOG_PATTERN: '\[debops\.libvirtd\]'
  tags: [ 'shell', 'vagrant-vm' ]

'libvirtd_qemu role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/libvirtd_qemu.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_libvirtd_qemu'
    JANE_DIFF_PATTERN: '.*/debops.libvirtd_qemu/.*'
    JANE_LOG_PATTERN: '\[debops\.libvirtd_qemu\]'
  tags: [ 'shell', 'vagrant-vm' ]

'locales role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/locales.yml'
    JANE_DIFF_PATTERN: '.*/debops.locales/.*'
    JANE_LOG_PATTERN: '\[debops\.locales\]'

'logrotate role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/logrotate.yml'
    JANE_DIFF_PATTERN: '.*/debops.logrotate/.*'
    JANE_LOG_PATTERN: '\[debops\.logrotate\]'

'lvm role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/lvm.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_lvm'
    JANE_DIFF_PATTERN: '.*/debops.lvm/.*'
    JANE_LOG_PATTERN: '\[debops\.lvm\]'
  tags: [ 'shell', 'vagrant-vm' ]

'lxc role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/lxc.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_lxc'
    JANE_DIFF_PATTERN: '.*/debops.lxc/.*'
    JANE_LOG_PATTERN: '\[debops\.lxc\]'
  tags: [ 'shell', 'vagrant-vm' ]


# --- m --- [[[2

776 777 778 779 780 781 782
'machine role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/machine.yml'
    JANE_DIFF_PATTERN: '.*/debops.machine/.*'
    JANE_LOG_PATTERN: '\[debops\.machine\]'

783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811
'mailman role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mailman.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mailman'
    JANE_INVENTORY_HOSTVARS: 'mailman__site_list_notify=false'
    JANE_DIFF_PATTERN: '.*/debops.mailman/.*'
    JANE_LOG_PATTERN: '\[debops\.mailman\]'

'mariadb role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb'
    JANE_DIFF_PATTERN: '.*/debops.mariadb/.*'
    JANE_LOG_PATTERN: '\[debops\.mariadb\]'

'mariadb_server role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server'
    JANE_DIFF_PATTERN: '.*/debops.mariadb_server/.*'
    JANE_LOG_PATTERN: '\[debops\.mariadb_server\]'

'mariadb_server/client role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/mariadb.yml'
812
    JANE_INVENTORY_DIRS: 'common mariadb_server/client'
813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_mariadb'
    JANE_DIFF_PATTERN: '.*/debops.mariadb/.*'
    JANE_LOG_PATTERN: '\[debops\.mariadb\]'

'memcached role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/memcached.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_memcached'
    JANE_DIFF_PATTERN: '.*/debops.memcached/.*'
    JANE_LOG_PATTERN: '\[debops\.memcached\]'

'monit role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/monit.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_monit'
    JANE_DIFF_PATTERN: '.*/debops.monit/.*'
    JANE_LOG_PATTERN: '\[debops\.monit\]'

'mosquitto role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mosquitto-plain.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mosquitto'
    JANE_DIFF_PATTERN: '.*/debops.mosquitto/.*'
    JANE_LOG_PATTERN: '\[debops\.mosquitto\]'

'mosquitto/nginx role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mosquitto-nginx.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mosquitto_nginx'
    JANE_DIFF_PATTERN: '.*/debops.mosquitto/.*'
    JANE_LOG_PATTERN: '\[debops\.mosquitto\]'

849 850 851 852 853 854 855 856
'mount role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mount.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mount'
    JANE_DIFF_PATTERN: '.*/debops.mount/.*'
    JANE_LOG_PATTERN: '\[debops\.mount\]'

857 858 859

# --- n --- [[[2

860 861 862 863 864 865 866 867
'netbase role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/netbase.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_netbase'
    JANE_DIFF_PATTERN: '.*/debops.netbase/.*'
    JANE_LOG_PATTERN: '\[debops\.netbase\]'

868 869 870 871 872
'netbox role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/netbox.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_netbox'
873
    JANE_INVENTORY_HOSTVARS: 'postgresql_server__delegate_to=localhost postgresql__delegate_to=localhost'
874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917
    JANE_DIFF_PATTERN: '.*/debops.netbox/.*'
    JANE_LOG_PATTERN: '\[debops\.netbox\]'

'nfs role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nfs.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nfs'
    JANE_DIFF_PATTERN: '.*/debops.nfs/.*'
    JANE_LOG_PATTERN: '\[debops\.nfs\]'

'nfs_server role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nfs_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nfs_server'
    JANE_DIFF_PATTERN: '.*/debops.nfs_server/.*'
    JANE_LOG_PATTERN: '\[debops\.nfs_server\]'

'nginx role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nginx.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nginx'
    JANE_DIFF_PATTERN: '.*/debops.nginx/.*'
    JANE_LOG_PATTERN: '\[debops\.nginx\]'

'nginx/passenger role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nginx.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nginx'
    JANE_INVENTORY_HOSTVARS: 'nginx_flavor=passenger'
    JANE_DIFF_PATTERN: '.*/debops.nginx/.*'
    JANE_LOG_PATTERN: '\[debops\.nginx\]'

'nodejs role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nodejs.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nodejs'
    JANE_DIFF_PATTERN: '.*/debops.nodejs/.*'
    JANE_LOG_PATTERN: '\[debops\.nodejs\]'

918 919 920 921 922
'nslcd role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nslcd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_nslcd'
923
    JANE_INVENTORY_HOSTVARS: 'ldap__enabled=true'
924 925 926
    JANE_DIFF_PATTERN: '.*/debops.nslcd/.*'
    JANE_LOG_PATTERN: '\[debops\.nslcd\]'

927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980
'nsswitch role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nsswitch.yml'
    JANE_DIFF_PATTERN: '.*/debops.nsswitch/.*'
    JANE_LOG_PATTERN: '\[debops\.nsswitch\]'

'ntp role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ntp.yml'
    JANE_DIFF_PATTERN: '.*/debops.ntp/.*'
    JANE_LOG_PATTERN: '\[debops\.ntp\]'

'nullmailer role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/nullmailer.yml'
    JANE_DIFF_PATTERN: '.*/debops.nullmailer/.*'
    JANE_LOG_PATTERN: '\[debops\.nullmailer\]'


# --- o --- [[[2

'opendkim role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/opendkim.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_opendkim'
    JANE_DIFF_PATTERN: '.*/debops.opendkim/.*'
    JANE_LOG_PATTERN: '\[debops\.opendkim\]'

# The 'debops.openvz' role is currently not considered for Debian Stretch and
# beyond.

'owncloud/apache role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/owncloud-apache.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_owncloud_apache'
    JANE_DIFF_PATTERN: '.*/debops.owncloud/.*'
    JANE_LOG_PATTERN: '\[debops\.owncloud\]'

'owncloud/nginx role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/owncloud-nginx.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_owncloud'
    JANE_DIFF_PATTERN: '.*/debops.owncloud/.*'
    JANE_LOG_PATTERN: '\[debops\.owncloud\]'


# --- p --- [[[2

981 982 983 984 985 986 987 988
'pam_access role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/pam_access.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_pam_access'
    JANE_DIFF_PATTERN: '.*/debops.pam_access/.*'
    JANE_LOG_PATTERN: '\[debops\.pam_access\]'

989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063
'persistent_paths role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/persistent_paths.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_persistent_paths'
    JANE_DIFF_PATTERN: '.*/debops.persistent_paths/.*'
    JANE_LOG_PATTERN: '\[debops\.persistent_paths\]'

'php role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/php.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_php'
    JANE_DIFF_PATTERN: '.*/debops.php/.*'
    JANE_LOG_PATTERN: '\[debops\.php\]'

'phpipam role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/phpipam.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_phpipam'
    JANE_DIFF_PATTERN: '.*/debops.phpipam/.*'
    JANE_LOG_PATTERN: '\[debops\.phpipam\]'

'phpmyadmin role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/phpmyadmin.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_phpmyadmin'
    JANE_DIFF_PATTERN: '.*/debops.phpmyadmin/.*'
    JANE_LOG_PATTERN: '\[debops\.phpmyadmin\]'

'pki role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/pki.yml'
    JANE_DIFF_PATTERN: '.*/debops.pki/.*'
    JANE_LOG_PATTERN: '\[debops\.pki\]'

'postconf role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postconf.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postconf'
    JANE_DIFF_PATTERN: '.*/debops.postconf/.*'
    JANE_LOG_PATTERN: '\[debops\.postconf\]'

'postfix role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postfix.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postfix'
    JANE_DIFF_PATTERN: '.*/debops.postfix/.*'
    JANE_LOG_PATTERN: '\[debops\.postfix\]'

'postgresql role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql'
    JANE_DIFF_PATTERN: '.*/debops.postgresql/.*'
    JANE_LOG_PATTERN: '\[debops\.postgresql\]'

'postgresql_server role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server'
    JANE_DIFF_PATTERN: '.*/debops.postgresql_server/.*'
    JANE_LOG_PATTERN: '\[debops\.postgresql_server\]'

'postgresql_server/client role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postgresql_server.yml ${DEBOPS_PLAYBOOKS}/service/postgresql.yml'
1064
    JANE_INVENTORY_DIRS: 'common postgresql_server/client'
1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092
    JANE_INVENTORY_GROUPS: 'debops_service_postgresql_server,debops_service_postgresql'
    JANE_DIFF_PATTERN: '.*/debops.postgresql/.*'
    JANE_LOG_PATTERN: '\[debops\.postgresql\]'

'postscreen role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postscreen.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postscreen'
    JANE_DIFF_PATTERN: '.*/debops.postscreen/.*'
    JANE_LOG_PATTERN: '\[debops\.postscreen\]'

'postwhite role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/postwhite.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_postwhite'
    JANE_DIFF_PATTERN: '.*/debops.postwhite/.*'
    JANE_LOG_PATTERN: '\[debops\.postscreen\]'

'preseed role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/preseed.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_preseed'
    JANE_DIFF_PATTERN: '.*/debops.preseed/.*'
    JANE_LOG_PATTERN: '\[debops\.preseed\]'

1093 1094 1095 1096 1097 1098 1099 1100
'proc_hidepid role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/proc_hidepid.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_proc_hidepid'
    JANE_DIFF_PATTERN: '.*/debops.proc_hidepid/.*'
    JANE_LOG_PATTERN: '\[debops\.proc_hidepid\]'

1101 1102 1103 1104
'prosody/pki role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/prosody.yml'
1105
    JANE_INVENTORY_GROUPS: 'debops_service_pki,debops_service_prosody'
1106 1107
    JANE_DIFF_PATTERN: '.*/debops.prosody/.*'
    JANE_LOG_PATTERN: '\[debops\.prosody\]'
1108

1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120
'python role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/python.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_python'
    JANE_DIFF_PATTERN: '.*/debops.python/.*'
    JANE_LOG_PATTERN: '\[debops\.python\]'

'python/raw role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/python_raw.yml'
1121
    #JANE_INVENTORY_HOSTVARS: 'ansible_python_interpreter=/usr/bin/python3'
1122 1123 1124 1125 1126
    JANE_INVENTORY_GROUPS: 'debops_service_python'
    JANE_DIFF_PATTERN: '.*/debops.python/.*'
    JANE_LOG_PATTERN: '\[debops\.python\]'


1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148
# --- r --- [[[2

'rabbitmq_management role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/rabbitmq_management.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_rabbitmq_management'
    JANE_DIFF_PATTERN: '.*/debops.rabbitmq_management/.*'
    JANE_LOG_PATTERN: '\[debops\.rabbitmq_management\]'

'rabbitmq_server role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/rabbitmq_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_rabbitmq_server'
    JANE_DIFF_PATTERN: '.*/debops.rabbitmq_server/.*'
    JANE_LOG_PATTERN: '\[debops\.rabbitmq_server\]'

'radvd role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ifupdown.yml ${DEBOPS_PLAYBOOKS}/service/radvd.yml'
1149
    JANE_INVENTORY_DIRS: 'common radvd'
1150 1151 1152 1153 1154
    JANE_INVENTORY_GROUPS: 'debops_service_ifupdown,debops_service_radvd'
    JANE_DIFF_PATTERN: '.*/debops.radvd/.*'
    JANE_LOG_PATTERN: '\[debops\.radvd\]'
  tags: [ 'shell', 'vagrant-vm' ]

1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170
'redis_server role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/redis_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_redis_server'
    JANE_DIFF_PATTERN: '.*/debops.redis_server/.*'
    JANE_LOG_PATTERN: '\[debops\.redis_server\]'

'redis_sentinel role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/redis_sentinel.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_redis_sentinel'
    JANE_DIFF_PATTERN: '.*/debops.redis_sentinel/.*'
    JANE_LOG_PATTERN: '\[debops\.redis_sentinel\]'

1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
'reprepro role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/reprepro.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_reprepro'
    JANE_INVENTORY_HOSTVARS: 'reprepro_gpg_key_length=\"512\"'
    JANE_DIFF_PATTERN: '.*/debops.reprepro/.*'
    JANE_LOG_PATTERN: '\[debops\.reprepro\]'

'resources role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/resources.yml'
    JANE_DIFF_PATTERN: '.*/debops.resources/.*'
    JANE_LOG_PATTERN: '\[debops\.resources\]'

'root_account role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/root_account.yml'
    JANE_DIFF_PATTERN: '.*/debops.root_account/.*'
    JANE_LOG_PATTERN: '\[debops\.root_account\]'

1194 1195 1196 1197 1198 1199 1200 1201
'roundcube role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/roundcube.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_roundcube'
    JANE_DIFF_PATTERN: '.*/debops.roundcube/.*'
    JANE_LOG_PATTERN: '\[debops\.roundcube\]'

1202
'roundcube/mariadb role':
1203
  <<: *test_role_2nd_deps
1204 1205 1206 1207 1208 1209
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/mariadb_server.yml ${DEBOPS_PLAYBOOKS}/service/roundcube.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_mariadb_server,debops_service_roundcube'
    JANE_INVENTORY_HOSTVARS: 'roundcube__database=mysql-default'
    JANE_DIFF_PATTERN: '.*/debops.roundcube/.*'
    JANE_LOG_PATTERN: '\[debops\.roundcube\]'
1210
    VAGRANT_MASTER_MEMORY: '4096'
1211
  tags: [ 'mem-6GB' ]
1212

1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295
'rsnapshot role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/rsnapshot.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_rsnapshot'
    JANE_DIFF_PATTERN: '.*/debops.rsnapshot/.*'
    JANE_LOG_PATTERN: '\[debops\.rsnapshot\]'

'rstudio_server role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/rstudio_server.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_rstudio_server'
    JANE_DIFF_PATTERN: '.*/debops.rstudio_server/.*'
    JANE_LOG_PATTERN: '\[debops\.rstudio_server\]'

'rsyslog role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/rsyslog.yml'
    JANE_DIFF_PATTERN: '.*/debops.rsyslog/.*'
    JANE_LOG_PATTERN: '\[debops\.rsyslog\]'

'ruby role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ruby.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_ruby'
    JANE_DIFF_PATTERN: '.*/debops.ruby/.*'
    JANE_LOG_PATTERN: '\[debops\.ruby\]'


# --- s --- [[[2

'salt role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/salt.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_salt'
    JANE_DIFF_PATTERN: '.*/debops.salt/.*'
    JANE_LOG_PATTERN: '\[debops\.salt\]'

'samba role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/samba.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_samba'
    JANE_INVENTORY_HOSTVARS: 'samba__kernel_modules_load=false'
    JANE_DIFF_PATTERN: '.*/debops.samba/.*'
    JANE_LOG_PATTERN: '\[debops\.samba\]'

'saslauthd role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/saslauthd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_saslauthd'
    JANE_DIFF_PATTERN: '.*/debops.saslauthd/.*'
    JANE_LOG_PATTERN: '\[debops\.saslauthd\]'

'secret role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/secret.yml'
    JANE_DIFF_PATTERN: '.*/debops.secret/.*'
    JANE_LOG_PATTERN: '\[debops\.secret\]'

'sks role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sks.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_sks'
    JANE_DIFF_PATTERN: '.*/debops.sks/.*'
    JANE_LOG_PATTERN: '\[debops\.sks\]'

'slapd role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/slapd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_slapd'
    JANE_INVENTORY_HOSTVARS: 'slapd_pki=false'
    JANE_DIFF_PATTERN: '.*/debops.slapd/.*'
    JANE_LOG_PATTERN: '\[debops\.slapd\]'

1296 1297 1298 1299 1300 1301 1302 1303
'slapd/pki role':
  <<: *test_role_2nd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/pki.yml ${DEBOPS_PLAYBOOKS}/service/slapd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_pki,debops_service_slapd'
    JANE_DIFF_PATTERN: '.*/debops.slapd/.*'
    JANE_LOG_PATTERN: '\[debops\.slapd\]'

1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335
'smstools role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/smstools.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_smstools'
    JANE_DIFF_PATTERN: '.*/debops.smstools/.*'
    JANE_LOG_PATTERN: '\[debops\.smstools\]'

'snmpd role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/snmpd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_snmpd'
    JANE_DIFF_PATTERN: '.*/debops.snmpd/.*'
    JANE_LOG_PATTERN: '\[debops\.snmpd\]'

'sshd role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sshd.yml'
    JANE_INVENTORY_HOSTVARS: 'sshd__allow_groups=[\"root\",\"admins\",\"vagrant\"]'
    JANE_DIFF_PATTERN: '.*/debops.sshd/.*'
    JANE_LOG_PATTERN: '\[debops\.sshd\]'

'stunnel role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/stunnel.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_stunnel'
    JANE_DIFF_PATTERN: '.*/debops.stunnel/.*'
    JANE_LOG_PATTERN: '\[debops\.stunnel\]'

1336
'sudo role':
1337
  <<: *test_role_2nd_deps
1338 1339 1340 1341 1342 1343
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sudo.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_sudo'
    JANE_DIFF_PATTERN: '.*/debops.sudo/.*'
    JANE_LOG_PATTERN: '\[debops\.sudo\]'

1344
'system_groups role':
1345
  <<: *test_role_3rd_deps
1346 1347 1348 1349 1350 1351
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/system_groups.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_system_groups'
    JANE_DIFF_PATTERN: '.*/debops.system_groups/.*'
    JANE_LOG_PATTERN: '\[debops\.system_groups\]'

1352 1353 1354 1355 1356 1357 1358
'system_users role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/system_users.yml'
    JANE_DIFF_PATTERN: '.*/debops.system_users/.*'
    JANE_LOG_PATTERN: '\[debops\.system_users\]'

1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379
'swapfile role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/swapfile.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_swapfile'
    JANE_DIFF_PATTERN: '.*/debops.swapfile/.*'
    JANE_LOG_PATTERN: '\[debops\.swapfile\]'
  tags: [ 'shell', 'vagrant-vm' ]

'sysctl role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sysctl.yml'
    JANE_DIFF_PATTERN: '.*/debops.sysctl/.*'
    JANE_LOG_PATTERN: '\[debops\.sysctl\]'
  tags: [ 'shell', 'vagrant-vm' ]

'sysfs role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sysfs.yml'
1380
    JANE_INVENTORY_DIRS: 'common sysfs'
1381 1382 1383 1384 1385
    JANE_INVENTORY_GROUPS: 'debops_service_sysfs'
    JANE_DIFF_PATTERN: '.*/debops.sysfs/.*'
    JANE_LOG_PATTERN: '\[debops\.sysfs\]'
  tags: [ 'shell', 'vagrant-vm' ]

1386 1387 1388 1389 1390 1391 1392 1393
'sysnews role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/sysnews.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_sysnews'
    JANE_DIFF_PATTERN: '.*/debops.sysnews/.*'
    JANE_LOG_PATTERN: '\[debops\.sysnews\]'

1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423

# --- t --- [[[2

'tcpwrappers role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/tcpwrappers.yml'
    JANE_DIFF_PATTERN: '.*/debops.tcpwrappers/.*'
    JANE_LOG_PATTERN: '\[debops\.tcpwrappers\]'

'tftpd role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/tftpd.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_tftpd'
    JANE_DIFF_PATTERN: '.*/debops.tftpd/.*'
    JANE_LOG_PATTERN: '\[debops\.tftpd\]'

'tgt role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/tgt.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_tgt'
    JANE_DIFF_PATTERN: '.*/debops.tgt/.*'
    JANE_LOG_PATTERN: '\[debops\.tgt\]'

'tinc/gateway role':
  <<: *test_role_3rd_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/ifupdown.yml ${DEBOPS_PLAYBOOKS}/service/tinc.yml'
1424
    JANE_INVENTORY_DIRS: 'common tinc/gateway'
1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453
    JANE_INVENTORY_GROUPS: 'debops_service_ifupdown,debops_service_tinc'
    JANE_DIFF_PATTERN: '.*/debops.tinc/.*'
    JANE_LOG_PATTERN: '\[debops\.tinc\]'
  tags: [ 'shell', 'vagrant-vm' ]


# --- u --- [[[2

'unattended_upgrades role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/unattended_upgrades.yml'
    JANE_DIFF_PATTERN: '.*/debops.unattended_upgrades/.*'
    JANE_LOG_PATTERN: '\[debops\.unattended_upgrades\]'

'unbound role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/unbound.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_unbound'
    JANE_DIFF_PATTERN: '.*/debops.unbound/.*'
    JANE_LOG_PATTERN: '\[debops\.unbound\]'

'users role':
  <<: *test_role_no_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/users.yml'
    JANE_DIFF_PATTERN: '.*/debops.users/.*'
    JANE_LOG_PATTERN: '\[debops\.users\]'
1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465


# --- y --- [[[2

'yadm role':
  <<: *test_role_1st_deps
  variables:
    JANE_TEST_PLAY: '${DEBOPS_PLAYBOOKS}/service/yadm.yml'
    JANE_INVENTORY_GROUPS: 'debops_service_yadm'
    JANE_INVENTORY_HOSTVARS: 'yadm__dotfiles_enabled=true'
    JANE_DIFF_PATTERN: '.*/debops.yadm/.*'
    JANE_LOG_PATTERN: '\[debops\.yadm\]'