---
dependency:
  name: galaxy
  enabled: false
driver:
  name: vagrant
platforms:
  # Check out the documentation at
  # https://github.com/ansible-community/molecule-vagrant#documentation
  # for more platform parameters.
  - name: vm-harden-mol
    box: rockylinux/8
    memory: 3072
    # List of raw Vagrant `config` options.
    # provider_raw_config_args:
    #   - "customize [ 'modifyvm', :id, '--natdnshostresolver1', 'on' ]"
    # Dictionary of `config` options.
    config_options:
      ssh.keep_alive: true
      ssh.remote_user: "lza"
      disksize.size: '20GB'
provisioner:
  name: ansible
  log: true
  config_options:
    defaults:
      # https://stackoverflow.com/questions/57435811/ansible-molecule-pass-multiple-vault-ids
      # vault_identity_list: "@$HOME/.ansible/roles/lza_install_common.pass, @$HOME/.ansible/roles/passfile_1.pass"
      vault_identity_list: "../../../lza_server_hardening.pass"
  vvv: false
  playbooks:
    # create: ../resources/playbooks/create.yml
    # destroy: ../resources/playbooks/destroy.yml
    converge: ../resources/playbooks/converge.yml
    prepare: ../resources/playbooks/prepare.yml
    verify: ../resources/playbooks/verify.yml
verifier:
  name: ansible
