- name: Context Preparation
  hosts: localhost
  connection: localhost
  gather_facts: false
  tasks:
    - name: Creating Directory
      file:
        path: /tmp/test_ansible
        state: directory
        mode: 0755

- name: Test Playbook deploy.yaml
  import_playbook: ../../../superbench/runner/playbooks/deploy.yaml
  vars:
    ssh_port: 12345
    output_dir: /tmp/test_ansible
    # use a mock superbench image (requires `sb` binary inside)
    docker_image: superbench/superbench:v0.3.0-cuda11.1.1
