|
09:05:59 # time ansible-playbook apache_install.yml --extra-vars "host=192.168.240.13 user=root" --private-key=/root/test.pem
PLAY [192.168.240.13] *********************************************************
GATHERING FACTS ***************************************************************
ok: [192.168.240.13]
TASK: [common | Install initializtion require software] ***********************
changed: [192.168.240.13]
TASK: [pcre_install | Copy Pcre Software To Redhat Client] ********************
changed: [192.168.240.13]
TASK: [pcre_install | Uncompression Pcre Software In Redhat Client] ***********
changed: [192.168.240.13]
TASK: [pcre_install | Delete Pcre Software In Redhat Client] ******************
changed: [192.168.240.13]
TASK: [apache_install | Copy Apache Software To Redhat Client] ****************
changed: [192.168.240.13] => (item=httpd-2.4.7.tar.gz)
changed: [192.168.240.13] => (item=libiconv.tar.gz)
TASK: [apache_install | Create Apache User In Redhat Client] ******************
changed: [192.168.240.13]
TASK: [apache_install | Uncompression Apache Software To Redhat Client] *******
changed: [192.168.240.13]
TASK: [apache_install | Copy Apache Config To Redhat Client] ******************
changed: [192.168.240.13]
TASK: [apache_install | Copy Apache Vhost Config To Redhat Client] ************
changed: [192.168.240.13]
TASK: [apache_install | Copy Apache Start Service Script To Redhat Client] ***
changed: [192.168.240.13]
TASK: [apache_install | Create Lib Install Dir] *******************************
ok: [192.168.240.13]
TASK: [apache_install | Check Apache Iconv In Redhat Client] ******************
changed: [192.168.240.13]
TASK: [apache_install | Install Apache Iconv In Redhat Client] ****************
changed: [192.168.240.13]
TASK: [apache_install | Check Lib In Config In Redhat Client] *****************
failed: [192.168.240.13] => {"changed": true, "cmd": "grep -c /usr/local/lib/ /etc/ld.so.conf ", "delta": "0:00:00.005372", "end": "2014-07-27 21:07:58.416717", "item": "", "rc": 1, "start": "2014-07-27 21:07:58.411345"}
stdout: 0
...ignoring
TASK: [apache_install | Install Apache Iconv In Redhat Client] ****************
changed: [192.168.240.13]
TASK: [apache_install | Create Apache Dir] ************************************
changed: [192.168.240.13] => (item=/data/webroot/apache)
changed: [192.168.240.13] => (item=/data/webroot/apache/logs)
changed: [192.168.240.13] => (item=/data/webroot/apache/vhost)
TASK: [apache_install | Install Check Script In Redhat Client] ****************
changed: [192.168.240.13]
TASK: [apache_install | Create Index Html To Redhat Client] *******************
changed: [192.168.240.13]
TASK: [apache_install | Start Apache Service In Redhat Client] ****************
changed: [192.168.240.13]
TASK: [apache_install | Add Boot Start Apache Service In Redhat Client] *******
changed: [192.168.240.13]
TASK: [apache_install | Delete Apache compression Software In Redhat Client] ***
changed: [192.168.240.13]
PLAY RECAP ********************************************************************
192.168.240.13 : ok=22 changed=20 unreachable=0 failed=0
real0m47.364s
user0m3.823s
sys0m0.402s |
|
|