[root@Ansible ~]
PLAY [test_hosts] **************************************************************
TASK [setup] *******************************************************************
ok: [192.168.31.110]
TASK [source_nginx : disabled iptables] ****************************************
changed: [192.168.31.110]
TASK [source_nginx : Set the selinux value to Permissive] **********************
changed: [192.168.31.110]
TASK [source_nginx : Create download directory] ********************************
changed: [192.168.31.110]
TASK [source_nginx : Install the some tools] ***********************************
changed: [192.168.31.110] => (item={u'name': u'unzip'})
changed: [192.168.31.110] => (item={u'name': u'zip'})
ok: [192.168.31.110] => (item={u'name': u'tar'})
changed: [192.168.31.110] => (item={u'name': u'libselinux-python'})
TASK [source_nginx : download some source packages] ****************************
changed: [192.168.31.110] => (item={u'url': u'https://ftp.pcre.org/pub/pcre/pcre-8.40.zip', u'validate_certs': u'no'})
changed: [192.168.31.110] => (item={u'url': u'http://nginx.org/download/nginx-1.11.7.tar.gz'})
TASK [source_nginx : unarchive some source packages] ***************************
changed: [192.168.31.110] => (item={u'src': u'/tmp/download/nginx-1.11.7.tar.gz', u'remote_src': u'yes'})
changed: [192.168.31.110] => (item={u'src': u'/tmp/download/pcre-8.40.zip', u'remote_src': u'yes'})
changed: [192.168.31.110] => (item={u'src': u'files/zlib-1.2.11.tar.gz'})
changed: [192.168.31.110] => (item={u'src': u'files/openssl-1.1.0e.tar.gz'})
changed: [192.168.31.110] => (item={u'src': u'files/gperftools-2.0.zip'})
changed: [192.168.31.110] => (item={u'src': u'files/echo-nginx-module-0.59.tar.gz'})
changed: [192.168.31.110] => (item={u'src': u'files/nginx-upstream-jvm-route-nginx1.11.7.zip'})
changed: [192.168.31.110] => (item={u'src': u'files/ngx_cache_purge-2.3.tar.gz'})
TASK [source_nginx : Check whether nginx users exist] **************************
fatal: [192.168.31.110]: FAILED! => {"changed": true, "cmd": "id nginx", "delta": "0:00:00.003932", "end": "2017-03-19 20:29:56.963783", "failed": true, "rc": 1, "start": "2017-03-19 20:29:56.959851", "stderr": "id: nginx: No such user", "stdout": "", "stdout_lines": [], "warnings": []}
...ignoring
TASK [source_nginx : The nginx user does not exist, so we need to create it.[The nginx user's password is 123456]] ***
changed: [192.168.31.110]
TASK [source_nginx : Install the pcre-8.40 source package] *********************
changed: [192.168.31.110]
TASK [source_nginx : Install the zlib-1.2.11 source package] *******************
changed: [192.168.31.110]
TASK [source_nginx : Install the openssl-1.1.0e source package] ****************
changed: [192.168.31.110]
TASK [source_nginx : Install the some devel packages] **************************
changed: [192.168.31.110] => (item={u'rpm': u'openssl-devel'})
changed: [192.168.31.110] => (item={u'rpm': u'pcre-devel'})
ok: [192.168.31.110] => (item={u'rpm': u'zlib-devel'})
ok: [192.168.31.110] => (item={u'rpm': u'gcc'})
ok: [192.168.31.110] => (item={u'rpm': u'gcc-c++'})
ok: [192.168.31.110] => (item={u'rpm': u'make'})
ok: [192.168.31.110] => (item={u'rpm': u'perl'})
changed: [192.168.31.110] => (item={u'rpm': u'perl-devel'})
changed: [192.168.31.110] => (item={u'rpm': u'perl-ExtUtils-Embed'})
TASK [source_nginx : Install the gperftools-2.0 source package] ****************
changed: [192.168.31.110]
TASK [source_nginx : Install patch package] ************************************
changed: [192.168.31.110]
TASK [source_nginx : Play nginx-upstream-jvm-route patche] *********************
changed: [192.168.31.110]
TASK [source_nginx : Install the Nginx package] ********************************
changed: [192.168.31.110]
TASK [source_nginx : Create some directory] ************************************
changed: [192.168.31.110] => (item={u'path': u'/tmp/tcmalloc', u'mode': u'0777'})
changed: [192.168.31.110] => (item={u'path': u'/var/proxy_cache/temp'})
changed: [192.168.31.110] => (item={u'path': u'/var/proxy_cache/cache'})
changed: [192.168.31.110] => (item={u'path': u'/var/log/nginx'})
changed: [192.168.31.110] => (item={u'path': u'/usr/local/nginx-1.11.7/conf/vhosts'})
TASK [source_nginx : set nginx parameter] **************************************
ok: [192.168.31.110]
TASK [source_nginx : Copy same files] ******************************************
changed: [192.168.31.110] => (item={u'dest': u'/etc/init.d/nginx', u'src': u'templates/etc_init.d_nginx.txt', u'mode': u'0755'})
changed: [192.168.31.110] => (item={u'dest': u'/usr/local/nginx-1.11.7/conf/nginx.conf', u'src': u'templates/nginx.conf.j2'})
changed: [192.168.31.110] => (item={u'dest': u'/usr/local/nginx-1.11.7/conf/vhosts/proxy.conf', u'src': u'templates/proxy.conf.j2'})
changed: [192.168.31.110] => (item={u'dest': u'/usr/local/nginx-1.11.7/conf/vhosts/comm.conf', u'src': u'templates/comm.conf.j2'})
changed: [192.168.31.110] => (item={u'dest': u'/usr/local/nginx-1.11.7/conf/vhosts/static.conf', u'src': u'templates/static.conf.j2'})
changed: [192.168.31.110] => (item={u'dest': u'/usr/local/nginx-1.11.7/conf/vhosts/fastcgi.conf', u'src': u'templates/fastcgi.conf.j2'})
RUNNING HANDLER [source_nginx : restart nginx] *********************************
changed: [192.168.31.110]
PLAY RECAP *********************************************************************
192.168.31.110 : ok=21 changed=19 unreachable=0 failed=0
[root@Ansible ~]#