|
09:39:10 # time ansible-playbook smokeping_install.yml --extra-vars "host=172.17.0.5 user=root" -k
SSH password:
PLAY [172.17.0.5] *************************************************************
GATHERING FACTS ***************************************************************
ok: [172.17.0.5]
TASK: [common | Install initializtion require software] ***********************
changed: [172.17.0.5]
TASK: [pcre_install | Copy Pcre Software To Redhat Client] ********************
changed: [172.17.0.5]
TASK: [pcre_install | Uncompression Pcre Software In Redhat Client] ***********
changed: [172.17.0.5]
TASK: [pcre_install | Delete Pcre Software In Redhat Client] ******************
changed: [172.17.0.5]
TASK: [apache_install | Copy Apache Software To Redhat Client] ****************
changed: [172.17.0.5] => (item=httpd-2.4.7.tar.gz)
changed: [172.17.0.5] => (item=libiconv.tar.gz)
TASK: [apache_install | Create Apache User In Redhat Client] ******************
changed: [172.17.0.5]
TASK: [apache_install | Uncompression Apache Software To Redhat Client] *******
changed: [172.17.0.5]
TASK: [apache_install | Copy Apache Config To Redhat Client] ******************
changed: [172.17.0.5]
TASK: [apache_install | Copy Apache Vhost Config To Redhat Client] ************
changed: [172.17.0.5]
TASK: [apache_install | Copy Apache Start Service Script To Redhat Client] ***
changed: [172.17.0.5]
TASK: [apache_install | Create Lib Install Dir] *******************************
ok: [172.17.0.5]
TASK: [apache_install | Check Apache Iconv In Redhat Client] ******************
changed: [172.17.0.5]
TASK: [apache_install | Install Apache Iconv In Redhat Client] ****************
changed: [172.17.0.5]
TASK: [apache_install | Check Lib In Config In Redhat Client] *****************
failed: [172.17.0.5] => {"changed": true, "cmd": "grep -c /usr/local/lib/ /etc/ld.so.conf ", "delta": "0:00:00.006524", "end": "2014-08-11 09:40:48.822372", "item": "", "rc": 1, "start": "2014-08-11 09:40:48.815848"}
stdout: 0
...ignoring
TASK: [apache_install | Install Apache Iconv In Redhat Client] ****************
changed: [172.17.0.5]
TASK: [apache_install | Create Apache Dir] ************************************
changed: [172.17.0.5] => (item=/data/webroot/apache)
changed: [172.17.0.5] => (item=/data/webroot/apache/logs)
changed: [172.17.0.5] => (item=/data/webroot/apache/vhost)
TASK: [apache_install | Install Check Script In Redhat Client] ****************
changed: [172.17.0.5]
TASK: [apache_install | Create Index Html To Redhat Client] *******************
changed: [172.17.0.5]
TASK: [apache_install | Start Apache Service In Redhat Client] ****************
changed: [172.17.0.5]
TASK: [apache_install | Add Boot Start Apache Service In Redhat Client] *******
changed: [172.17.0.5]
TASK: [apache_install | Delete Apache compression Software In Redhat Client] ***
changed: [172.17.0.5]
TASK: [smokeping_install | Create Smokeping Install Dir] **********************
changed: [172.17.0.5]
TASK: [smokeping_install | Copy Smokeping Software To Redhat Client] **********
changed: [172.17.0.5] => (item=rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm)
changed: [172.17.0.5] => (item=smokeping.tar.gz)
TASK: [smokeping_install | Install Epel Yum Repo] *****************************
changed: [172.17.0.5]
TASK: [smokeping_install | Install Require Software] **************************
changed: [172.17.0.5]
TASK: [smokeping_install | Uncompression Smokeping] **************************
changed: [172.17.0.5]
TASK: [smokeping_install | Copy Smokeping Config To Redhat Client] ************
changed: [172.17.0.5]
TASK: [smokeping_install | Copy Smokeping Httpd Config To Redhat Client] ******
changed: [172.17.0.5]
TASK: [smokeping_install | Check Boot Start In Redhat Client] *****************
failed: [172.17.0.5] => {"changed": true, "cmd": "grep -c '/usr/local/smokeping/bin/smokeping --logfile=/var/log/smokeping.log 2>&1 &' /etc/rc.local ", "delta": "0:00:00.007325", "end": "2014-08-11 09:46:03.045378", "item": "", "rc": 1, "start": "2014-08-11 09:46:03.038053"}
stdout: 0
...ignoring
TASK: [smokeping_install | Add Boot Start In Redhat Client] *******************
changed: [172.17.0.5]
TASK: [smokeping_install | Modify Smokeping Dir Permission In Redhat Client] ***
changed: [172.17.0.5]
TASK: [smokeping_install | Start Smokeping Service In Redhat Client] **********
changed: [172.17.0.5]
TASK: [smokeping_install | Restart Apache Service In Redhat Client] ***********
changed: [172.17.0.5]
TASK: [smokeping_install | Delete Installed File] *****************************
changed: [172.17.0.5]
PLAY RECAP ********************************************************************
172.17.0.5 : ok=35 changed=33 unreachable=0 failed=0
real6m52.934s
user0m15.104s
sys0m1.632s |
|
|