Authored by chunhua.zhang

no message

1 - hosts: java-nginx 1 - hosts: java-nginx
2 pre_tasks: 2 pre_tasks:
3 - shell: cat /proc/cpuinfo | grep processor | wc -l 3 - shell: cat /proc/cpuinfo | grep processor | wc -l
4 - register: processor_count 4 + register: cpu_count_ret
5 - set_fact: 5 - set_fact:
6 - processor_count: "{{ processor_count }}" 6 + processor_count: "{{ cpu_count_ret.stdout }}"
7 vars_prompt: 7 vars_prompt:
8 - name: "confirmation" 8 - name: "confirmation"
9 prompt: "Sync and reload java nginx. Please Enter YES to continue." 9 prompt: "Sync and reload java nginx. Please Enter YES to continue."