ufo-nginx.yml 406 Bytes
- hosts: ufo-nginx
  pre_tasks:
    - shell: cat /proc/cpuinfo | grep processor | wc -l
      register: cpu_count_ret
    - set_fact:
        processor_count: "{{ cpu_count_ret.stdout }}"
  vars_files:
    - extra_vars/all.yml
  vars_prompt:
    - name: "confirmation"
      prompt: "Sync and reload java nginx. Please Enter YES to continue."
      private: no
  remote_user: root
  roles:
    - ufo-nginx