Restructure roles
This commit is contained in:
parent
490cb5c3e6
commit
0183d6b307
9 changed files with 11 additions and 10 deletions
|
@ -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 }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue