Comments (5)
On Fail
TASK [bootstrap : Checking Network Connection, Hold on...] *********************
fatal: [AnsiPress.local]: FAILED! => {"changed": true, "cmd": "ping -c2 google.com", "delta": "0:00:00.002761", "end": "2017-02-19 19:10:08.115510", "failed": true, "rc": 2, "start": "2017-02-19 19:10:08.112749", "stderr": "ping: unknown host google.com", "stdout": "", "stdout_lines": [], "warnings": []}
to retry, use: --limit @/Users/neo/Github/AnsiPress/setup.retry
PLAY RECAP *********************************************************************
AnsiPress.local : ok=2 changed=0 unreachable=0 failed=1
On Success:
TASK [bootstrap : Checking Network Connection, Hold on...] *********************
changed: [AnsiPress.local] => {"changed": true, "cmd": "ping -c2 google.com", "delta": "0:00:01.077720", "end": "2017-02-19 19:10:59.070715", "rc": 0, "start": "2017-02-19 19:10:57.992995", "stderr": "", "stdout": "PING google.com (172.217.26.206) 56(84) bytes of data.\n64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=1 ttl=63 time=19.3 ms\n64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=2 ttl=63 time=17.7 ms\n\n--- google.com ping statistics ---\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\nrtt min/avg/max/mdev = 17.775/18.537/19.300/0.774 ms", "stdout_lines": ["PING google.com (172.217.26.206) 56(84) bytes of data.", "64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=1 ttl=63 time=19.3 ms", "64 bytes from maa03s23-in-f14.1e100.net (172.217.26.206): icmp_seq=2 ttl=63 time=17.7 ms", "", "--- google.com ping statistics ---", "2 packets transmitted, 2 received, 0% packet loss, time 1002ms", "rtt min/avg/max/mdev = 17.775/18.537/19.300/0.774 ms"], "warnings": []}
TASK [bootstrap : Setup FQDN, Hold on...] **************************************
changed: [AnsiPress.local] => {"ansible_facts": {"ansible_domain": "local", "ansible_fqdn": "AnsiPress.local", "ansible_hostname": "AnsiPress", "ansible_nodename": "AnsiPress.local"}, "changed": true, "name": "AnsiPress.local"}
TASK [bootstrap : Set Timezone to UTC, Hold on...] *****************************
ok: [AnsiPress.local] => {"changed": false}
from ansipress.
@harshadyeola Verify this and close this issue
from ansipress.
@MiteshShah Your step ran but did not fix issue.
root@AnsiPress:~# ls
root@AnsiPress:~# cat /etc/resolv
cat: /etc/resolv: No such file or directory
root@AnsiPress:~# cat /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 10.0.2.3
Verifies that task did run
TASK [setup] *******************************************************************
ok: [AnsiPress.local]
TASK [bootstrap : Executing ping command, Hold on...] **************************
ok: [AnsiPress.local]
from ansipress.
@harshadyeola Can you explain bit more here.
from ansipress.
@harshadyeola I'd added check which checks the network/internet connection was present or not.
If ping google.com failed AnsiPress stop at that points and user have to manually check and fix network issue
Some ISP/Hosting provider block Google DNS and nameservers and its always better don't mess with it so user can fix the issue and run AnsiPress again
from ansipress.
Related Issues (20)
- NGINX Redis Support
- Shared Hosting Security HOT 1
- PHP Should Respect UMASK Value
- OSSEC
- Tune Kernel Parameters
- Add Fail2ban for preventing malicious attacks HOT 2
- Auto deployment process from one instance to another
- Backup config files (git init)
- Monit for monitoring processes HOT 2
- Bug HOT 1
- Enable PHP Services at Boot Time
- Log all unix shell commands submitted by all users HOT 1
- support for non-root users HOT 1
- Remove reboot as default on system package updates
- Add support for ubuntu 17.04 HOT 1
- 404 in repo?
- [WARNING]: provided hosts list is empty, only localhost is available HOT 2
- Support Ubuntu 18.04
- Let's Encrypt support HOT 1
- Incomplete install instructions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansipress.