Skip to content

Commit

Permalink
rename some tasks to show that they are templating
Browse files Browse the repository at this point in the history
  • Loading branch information
martbhell committed Sep 23, 2016
1 parent 188aeae commit 9c82c4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- name: install dnsmasq server
yum: pkg=dnsmasq state=installed

- name: create_dhcp_configs
- name: template create_dhcp_configs
template: src=dhcp_node.conf dest="/etc/dhcp/dhcpd.d/nodes.conf"
notify:
- restart dhcpd
Expand All @@ -24,10 +24,10 @@
- name: create_pxe_directory_structure
file: path=/var/www/provision/nodes state=directory owner=apache group=apache mode="0755"

- name: create pxe boot data json file
- name: template pxe boot data json file
template: src='pxe_nodes.json.j2' dest='/var/www/provision/nodes/pxe_nodes.json'

- name: populate hosts file from template with PXE hosts
- name: template hosts file - populate with PXE hosts
template: src='hosts.j2' dest='{{ hosts_file_to_populate }}' owner=root group=root mode='0644'
notify:
- restart dnsmasq
Expand All @@ -54,6 +54,6 @@
debug: var=item verbosity=1
with_items: "{{ hosts_file_my_group }}"

- name: copy over kickstart file
- name: template over kickstart file
template: src="kickstart.cfg" dest="{{ ksBootSrvDir }}/{{ hostvars[item].kickstart_profile }}" owner=apache group=apache mode=0644
with_items: "{{ hosts_file_my_group }}"

0 comments on commit 9c82c4c

Please sign in to comment.