5 - name: add public key to host
7 src: ../file/authorized_keys
8 dest: /root/.ssh/authorized_keys
9 - name: configure modules
17 - ../var/{{ ansible_os_family }}.yml
18 - ../var/flavor-vars.yml
20 # TODO: this only works for ubuntu/xenial and need to be adjusted for other distros
21 - { role: configure-network, when: ansible_distribution_release == "xenial", src: "../template/controller.interface.j2", dest: "/etc/network/interfaces" }
26 - ../var/{{ ansible_os_family }}.yml
27 - ../var/flavor-vars.yml
29 # TODO: this only works for ubuntu/xenial and need to be adjusted for other distros
30 - { role: configure-network, when: ansible_distribution_release == "xenial", src: "../template/compute.interface.j2", dest: "/etc/network/interfaces" }
34 # TODO: this role is for configuring NFS on xenial and adjustment needed for other distros