Restructure roles

This commit is contained in:
hybris 2019-02-04 13:22:51 +01:00
parent 490cb5c3e6
commit 0183d6b307
9 changed files with 11 additions and 10 deletions

View file

@ -17,7 +17,7 @@
- name: create vm definitions
template:
src: "../files/cloud-init.tf.j2"
src: "cloud-init.tf.j2"
dest: "/home/{{ ansible_ssh_user }}/terraform/{{ item.hostname }}.tf"
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_user }}"
@ -25,7 +25,7 @@
- name: create cloud-init config
template:
src: "../files/cloud-init.cfg.j2"
src: "cloud-init.cfg.j2"
dest: "/home/{{ ansible_ssh_user }}/terraform/{{ item.hostname }}.cloud_init.cfg"
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_user }}"
@ -33,7 +33,7 @@
- name: create cloud-init network config
template:
src: "../files/cloud-init-network.cfg.j2"
src: "cloud-init-network.cfg.j2"
dest: "/home/{{ ansible_ssh_user }}/terraform/{{ item.hostname }}.cloud_init_network.cfg"
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_user }}"
@ -41,7 +41,7 @@
- name: create libvirt_provider config
template:
src: "../files/libvirt_provider.tf.j2"
src: "libvirt_provider.tf.j2"
dest: "/home/{{ ansible_ssh_user }}/terraform/libvirt_provider.tf"
owner: "{{ ansible_ssh_user }}"
group: "{{ ansible_ssh_user }}"