Commit 9394e3a5 by John Jarvis

updating case for common_hostname

parent be4b7d0c
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
- name: common | update /etc/hosts - name: common | update /etc/hosts
template: src=hosts.j2 dest=/etc/hosts template: src=hosts.j2 dest=/etc/hosts
when: common_hostname when: COMMON_HOSTNAME
register: etc_hosts register: etc_hosts
- name: common | update /etc/hostname - name: common | update /etc/hostname
...@@ -59,7 +59,7 @@ ...@@ -59,7 +59,7 @@
- name: common | run hostname - name: common | run hostname
shell: > shell: >
hostname -F /etc/hostname hostname -F /etc/hostname
when: common_hostname and (etc_hosts.changed or etc_hostname.changed) when: COMMON_HOSTNAME and (etc_hosts.changed or etc_hostname.changed)
- name: common | set global bashrc - name: common | set global bashrc
template: src=bash.bashrc.j2 dest=/etc/bash.bashrc template: src=bash.bashrc.j2 dest=/etc/bash.bashrc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment