---
- name: make the app be real
  hosts: localhost
  connection: local
  user: root
  gather_facts: False

  vars_files:
    - /srv/web/infra/ansible/vars/global.yml
    - "/srv/private/ansible/vars.yml"
    - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml

  module_defaults:
    group/awx.awx.controller:
      controller_host: awx.fedoraproject.org
      controller_username: "{{ awx_admin_username }}"
      controller_password: "{{ awx_admin_password }}"

  roles:
  - role: awx/controller
