---
- name: provision AWS builder
  hosts: all
  become: true
  user: fedora

  vars_files:
    - vars.yml
    - aws_cloud_vars.yml

  vars:
    ansible_python_interpreter: /usr/bin/python3

  tasks:
  - include_tasks: "create_swap_file.yml"
    when:
    - prepare_base_image is defined

  - include_tasks: "provision_builder_tasks.yml"
