summaryrefslogtreecommitdiffstats
path: root/roles/openshift_minion
diff options
context:
space:
mode:
authorThomas Wiest <twiest@redhat.com>2015-02-04 11:47:00 -0500
committerThomas Wiest <twiest@redhat.com>2015-02-05 15:53:32 -0500
commit7c1c02f3cc202acbc662f52fbc9a17911b044f24 (patch)
tree42cfe00df40943e902d2a4e73274db308b57c5b5 /roles/openshift_minion
parent076434d7a1026540f0eee5479adddc895d73b9b0 (diff)
downloadopenshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.gz
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.bz2
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.tar.xz
openshift-7c1c02f3cc202acbc662f52fbc9a17911b044f24.zip
removed the usage of yaml '>' for multiline entries and replaced them with yaml dictionaries as demonstrated by the ansible documentation.
Diffstat (limited to 'roles/openshift_minion')
-rw-r--r--roles/openshift_minion/tasks/main.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/openshift_minion/tasks/main.yml b/roles/openshift_minion/tasks/main.yml
index e328eb5d5..3821277bc 100644
--- a/roles/openshift_minion/tasks/main.yml
+++ b/roles/openshift_minion/tasks/main.yml
@@ -8,10 +8,10 @@
command: /usr/bin/hostname {{ oo_bind_ip }}
- name: Configure OpenShift Minion settings
- lineinfile: >
- dest=/etc/sysconfig/openshift
- regexp={{ item.regex }}
- line="{{ item.line }}"
+ lineinfile:
+ dest: /etc/sysconfig/openshift
+ regexp: "{{ item.regex }}"
+ line: "{{ item.line }}"
with_items:
- { regex: '^ROLE=', line: 'ROLE=\"node\"' }
- { regex: '^OPTIONS=', line: 'OPTIONS=\"--master=http://{{ oo_master_ips[0] }}:8080 --loglevel=5\"' }