---
- name: Creating admin openrc file on the deploy node
  hosts: localhost
  become: true
  tasks:
    - template:
        src: "roles/common/templates/admin-openrc.sh.j2"
        dest: "{{ CONFIG_DIR | default('/etc/kolla') }}/admin-openrc.sh"
      run_once: True