Behavior of get_url if file exists in destination?

2,756 views
Skip to first unread message

Levi Notik

unread,
Aug 29, 2014, 8:12:20 AM8/29/14
to ansible...@googlegroups.com
I'm trying to use get_url to download a file to a group of hosts. My play looks like this:

---
- hosts: webservers
  remote_user: ec2-user
  tasks:
   - name: download jar
     get_url: 
      dest: /home/ec2-user/management/jars/some.jar 
     notify: restart_service
   - name: start_service
     service: name=gw-management state=started
     sudo: yes
  handlers:
   - name: restart_service
     service: name=gw-management state=restarted
     sudo: yes

The file does not seem to be downloaded if it already exists in the dest directory. If I delete the file first, everything works as expected. The docs for get_url are slightly confusing and I'm not sure how dest being a directory affects things. I've also tried using force.

Do I simply need to set the destination to /home/ec2-user/management/jars without the file name and then, as the docs state, "If dest is a directory, the file will always be downloaded (regardless of the force option), but replaced only if the contents changed."? Also, how does ansible determine contents have changed, is it hashing the contents?

Michael DeHaan

unread,
Aug 29, 2014, 8:33:26 AM8/29/14
to ansible...@googlegroups.com
Hi Levi,

It looks like you need to use the "force" parameter, which is documented as follows:

If yes and dest is not a directory, will download the file every time and replace the file if the contents change. If no, the file will only be downloaded if the destination does not exist. Generally should be yesonly for small local files. Prior to 0.6, this module behaved as if yes was the default. (added in Ansible 0.7)

(We can really remove all the special notes about 0.6 and 0.7, as that's some very old stuff and everyone has upgraded at this point)

Also, usual disclaimer about get_url:  If you have more than one server, a good tip can be to use a local step in a preceeding play to download a file and then the copy module to move it out.   This prevents using your server farm to unintentionally DDOS a particular website or service.   500 or 1000 machines downloading a tarball would be rather abusive, especially if using force=yes or deploying them all at the same time.



   







--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/8eb9da33-a72f-4638-9c6d-ab01549b7fc7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Levi Notik

unread,
Aug 29, 2014, 8:36:12 AM8/29/14
to ansible...@googlegroups.com
I've tried with force: yes with everything else the same as above and that didn't work.

Michael DeHaan

unread,
Aug 29, 2014, 8:41:14 AM8/29/14
to ansible...@googlegroups.com
(A) please confirm what version of ansible you are using (ansible --version)

(B) when you say "didn't work", can you describe what did not work means?   How did you ascertain it did not work?




Levi Notik

unread,
Aug 29, 2014, 8:47:30 AM8/29/14
to ansible...@googlegroups.com
Version is 1.7.1

I'm probably missing something basic here (very new to ansible), but after running the playbook, I checked the directory on the host and the file hasn't been modified. Similarly, the notify step of restarting the service doesn't run (I know this by tailing logs).

Michael DeHaan

unread,
Aug 29, 2014, 11:02:47 AM8/29/14
to ansible...@googlegroups.com
here's an easy thing to try:

ansible localhost -m get_url -c local -a "url=http://google.com dest=/tmp/path force=no" 
Observe /tmp/path
edit /tmp/path to say "changeme this is a file that needs to be replaced"
Run ansible command again
observe /tmp/path is now replaced




Levi Notik

unread,
Aug 29, 2014, 11:04:01 AM8/29/14
to ansible...@googlegroups.com
So I should be leaving off the filename in the dest param?

Levi Notik

unread,
Aug 29, 2014, 11:38:41 AM8/29/14
to ansible...@googlegroups.com
Ok, I see that locally it does work with force=yes.

 ~  ansible localhost -m get_url -c local -a "url=http://google.com dest=/tmp/ansibletest/myfile.txt force=no"
localhost
| success >> {
   
"changed": true,
   
"dest": "/tmp/ansibletest/myfile.txt",
   
"gid": 0,
   
"group": "wheel",
   
"md5sum": "267350d45315532aff7aca36163ddc75",
   
"mode": "0644",
   
"msg": "OK (unknown bytes)",
   
"owner": "levinotik",
   
"sha256sum": "",
   
"size": 19035,
   
"src": "/var/folders/j6/fdfzf9bj4rx2zgy1vjd9x5bm0000gn/T/tmpbC9W6D",
   
"state": "file",
   
"uid": 501,
   
"url": "http://google.com"
}


 ~  cat /tmp/ansibletest/myfile.txt
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta content="/images/google_favicon_128.png" itemprop="image"><title>Google</title><script>(function(){window.google={kEI:'t50AVMaGEtPpggS_qIDwAw',kEXPI:'25657,4000116,4007661,4008142,4009033,4010806,4010858,4010899,4011228,4011679,4012149,4012373,4013414,4013591,4013723,4013823,4013967,4014016,4014431,4014636,4014789,4014805,4015550,4016127,4016279,4016373,4016824,4016976,4017204,4017588,4017659,4017694,4017818,4017981,4017982,4018181,4018251,4018569,4018598,4018638,4018923,4019014,4019018,4019142,4019207,4019423,4019438,4019483,4019793,4019798,4019800,4019849,4019874,4019888,4019995,4020025,4020029,4020031,4020139,4020175,4020306,4020339,4020378,4020381,4020383,4020385,4020437,4020513,4020514,4020554,4020592,4020664,4020705,4020729,4020806,4020815,4020822,4020824,4020879,4020892,4021025,4021067,4021071,4021092,4021110,4021112,4021124,4021203,4021545,4021567,8300007,8300030,8300060,8300063,8300072,8300075,8500223,8500272,8500394,8500433,8500474,8500509,8500554,8500571,8500585,8500593,8500605,10200083,10200334,10200353,10200396,10200398,10200442,10200448,10200470,10200472,10200490,10200523,10200525,10200528,10200556,10200585,10200590,10200592,10200597,10200599,10200601,10200614,10200618',kCSI:{e:'25657,4000116,4007661,4008142,4009033,4010806,4010858,4010899,4011228,4011679,4012149,4012373,4013414,4013591,4013723,4013823,4013967,4014016,4014431,4014636,4014789,4014805,4015550,4016127,4016279,4016373,4016824,4016976,4017204,4017588,4017659,4017694,4017818,4017981,4017982,4018181,4018251,4018569,4018598,4018638,4018923,4019014,4019018,4019142,4019207,4019423,4019438,4019483,4019793,4019798,4019800,4019849,4019874,4019888,4019995,4020025,4020029,4020031,4020139,4020175,4020306,4020339,4020378,4020381,4020383,4020385,4020437,4020513,4020514,4020554,4020592,4020664,4020705,4020729,4020806,4020815,4020822,4020824,4020879,4020892,4021025,4021067,4021071,4021092,4021110,4021112,4021124,4021203,4021545,4021567,8300007,8300030,8300060,8300063,8300072,8300075,8500223,8500272,8500394,8500433,8500474,8500509,8500554,8500571,8500585,8500593,8500605,10200083,10200334,10200353,10200396,10200398,10200442,10200448,10200470,10200472,10200490,10200523,10200525,10200528,10200556,10200585,10200590,10200592,10200597,10200599,10200601,10200614,10200618',ei:'t50AVMaGEtPpggS_qIDwAw'},authuser:0};google.kHL='en';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI};google.https=function(){return"https:"==window.location.protocol};google.ml=function(){};google.time=function(){return(new Date).getTime()};google.log=function(a,b,d,h,k){var c=new Image,f=google.lc,e=google.li,g="",l=google.ls||"";c.onerror=c.onload=c.onabort=function(){delete f[e]};f[e]=c;d||-1!=b.search("&ei=")||(g="&ei="+google.getEI(h));a=d||"/"+(k||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+g+l+"&zx="+google.time();/^http:/i.test(a)&&google.https()?(google.ml(Error("a"),!1,{src:a,glmm:1}),delete f[e]):(c.src=a,google.li=e+1)};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.load=function(a,b,d){google.x({id:a+m++},function(){google.load(a,b,d)})};var m=0;})();var _gjwl=location;function _gjuc(){var a=_gjwl.href.indexOf("#");if(0<=a&&(a=_gjwl.href.substring(a),0<a.indexOf("&q=")||0<=a.indexOf("#q="))&&(a=a.substring(1),-1==a.indexOf("#"))){for(var d=0;d<a.length;){var b=d;"&"==a.charAt(b)&&++b;var c=a.indexOf("&",b);-1==c&&(c=a.length);b=a.substring(b,c);if(0==b.indexOf("fp="))a=a.substring(0,d)+a.substring(c,a.length),c=d;else if("cad=h"==b)return 0;d=c}_gjwl.href="/search?"+a+"&cad=h";return 1}return 0}
function _gjh(){!_gjuc()&&window.google&&google.x&&google.x({id:"GJH"},function(){google.nav&&google.nav.gjh&&google.nav.gjh()})};window._gjh&&_gjh();</script><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c !important}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visited{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead a.gb2:hover{color:#fff !important}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/srpr/nav_logo80.png) 0 -258px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}#addlang a{padding:0 3px}</style><script></script></head><body bgcolor="#fff"><script>(function(){var src='/images/nav_logo176.png';var iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
}
})();</script><div id="mngb">   <div id=gbar><nobr><b class=gb1>Search</b> <a class=gb1 href="http://www.google.com/imghp?hl=en&tab=wi">Images</a> <a class=gb1 href="http://maps.google.com/maps?hl=en&tab=wl">Maps</a> <a class=gb1 href="https://play.google.com/?hl=en&tab=w8">Play</a> <a class=gb1 href="http://www.youtube.com/?tab=w1">YouTube</a> <a class=gb1 href="http://news.google.com/nwshp?hl=en&tab=wn">News</a> <a class=gb1 href="https://mail.google.com/mail/?tab=wm">Gmail</a> <a class=gb1 href="https://drive.google.com/?tab=wo">Drive</a> <a class=gb1 style="text-decoration:none" href="http://www.google.com/intl/en/options/"><u>More</u> &raquo;</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a href="http://www.google.com/history/optout?hl=en" class=gb4>Web History</a> | <a  href="/preferences?hl=en" class=gb4>Settings</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&continue=http://www.google.com/" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div>  </div><center><span id="prt" style="display:block"> <div><style>.pmoabs{background-color:#fff;border:1px solid #E5E5E5;color:#666;font-size:13px;padding-bottom:20px;position:absolute;right:2px;top:3px;z-index:986}#pmolnk{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.kd-button-submit{border:1px solid #3079ed;background-color:#4d90fe;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#4787ed')}.kd-button-submit:hover{border:1px solid #2f5bb7;background-color:#357ae8;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#357ae8')}.kd-button-submit:active{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3)}#pmolnk a{color:#fff;display:inline-block;font-weight:bold;padding:5px 20px;text-decoration:none;white-space:nowrap}.xbtn{color:#999;cursor:pointer;font-size:23px;line-height:5px;padding-top:5px}.padi{padding:0 8px 0 10px}.padt{padding:5px 20px 0 0;color:#444}.pads{text-align:left;max-width:200px}</style> <div class="pmoabs" id="pmocntr2" style="behavior:url(#default#userdata);display:none"> <table border="0"> <tr> <td colspan="2"> <div class="xbtn" onclick="google.promos&&google.promos.toast&& google.promos.toast.cpc()" style="float:right">&times;</div> </td> </tr> <tr> <td class="padi" rowspan="2"> <img src="/images/icons/product/chrome-48.png"> </td> <td class="pads">A faster way to browse the web</td> </tr> <tr> <td class="padt"> <div class="kd-button-submit" id="pmolnk"> <a href="/chrome/index.html?hl=en&amp;brand=CHNG&amp;utm_source=en-hpp&amp;utm_medium=hpp&amp;utm_campaign=en" onclick="google.promos&&google.promos.toast&& google.promos.toast.cl()">Install Google Chrome</a> </div> </td> </tr> </table> </div> <script type="text/javascript">(function(){var a={o:{}};a.o.Pa=50;a.o.Oa=10;a.o.ca="body";a.o.La=!0;a.o.Fa=function(b,c){var d=a.o.Ja();a.o.Ka(d,b,c);a.o.Na(d);a.o.La&&a.o.Ma(d)};a.o.Na=function(b){(b=a.o.ba(b))&&0<b.forms.length&&b.forms[0].submit()};a.o.Ja=function(){var b=document.createElement("iframe");b.height=0;b.width=0;b.style.overflow="hidden";b.style.top=b.style.left="-100px";b.style.position="absolute";document.body.appendChild(b);return b};a.o.ba=function(b){return b.contentDocument||b.contentWindow.document};a.o.Ka=function(b,c,d){b=a.o.ba(b);b.open();d=["<",a.o.ca,'><form method=POST action="',d,'">'];for(var e in c)c.hasOwnProperty(e)&&d.push('<textarea name="',e,'">',c[e],"</textarea>");d.push("</form></",a.o.ca,">");b.write(d.join(""));b.close()};a.o.aa=function(b,c){c>a.o.Oa?google&&google.ml&&google.ml(Error("ogcdr"),!1,{cause:"timeout"}):b.contentWindow?a.o.Qa(b):window.setTimeout(function(){a.o.aa(b,c+1)},a.o.Pa)};a.o.Qa=function(b){document.body.removeChild(b)};a.o.Ma=function(b){a.o.Ra(b,"load",function(){a.o.aa(b,0)})};a.o.Ra=function(b,c,d){b.addEventListener?b.addEventListener(c,d,!1):b.attachEvent&&b.attachEvent("on"+c,d)};var m={Va:0,C:1,D:2,G:5};a.k={};a.k.Q={Ha:"i",U:"d",Ia:"l"};a.k.A={P:"0",J:"1"};a.k.R={N:1,U:2,O:3};a.k.v={va:"a",ya:"g",F:"c",Ca:"u",Ba:"t",P:"p",Aa:"pid",wa:"eid",Da:"at"};a.k.za=window.location.protocol+"//www.google.com/_/og/promos/";a.k.xa="g";a.k.Ea="z";a.k.H=!1;a.k.$=function(b,c,d){return c==m.C?(b=window.gbar.up.gpd(b,d,!0),null==b?0:parseInt(b,10)):0};a.k.ia=function(b,c,d){return c==m.C?null!=window.gbar.up.gpd(b,d,!0):!1};a.k.S=function(b,c,d,e,h,g,k,l){var f={};f[a.k.v.P]=b;f[a.k.v.ya]=c;f[a.k.v.va]=d;f[a.k.v.Da]=e;f[a.k.v.wa]=h;f[a.k.v.Aa]=1;k&&(f[a.k.v.F]=k);l&&(f[a.k.v.Ca]=l);if(g)f[a.k.v.Ba]=g;else return google.ml(Error("knu"),!1,{cause:"Token is not found"}),null;return f};a.k.T=function(b,c,d){if(b){var e=c?a.k.xa:a.k.Ea;c&&d&&(e+="?authuser="+d);a.o.Fa(b,a.k.za+e)}};a.k.Ga=function(b,c,d,e,h,g,k){b=a.k.S(c,b,a.k.Q.U,a.k.R.U,d,h,null,e);a.k.T(b,g,k)};a.k.ta=function(b,c,d,e,h,g,k){b=a.k.S(c,b,a.k.Q.Ha,a.k.R.N,d,h,e,null);a.k.T(b,g,k)};a.k.la=function(b,c,d,e,h,g,k,l,f,n){switch(c){case m.C:window.gbar.up.spd(b,d,1,!0);break;case m.D:if(f=f||!1,l=l||"",g=g||0,k=k||a.k.A.J,n=n||0,a.k.Ga(e,g,k,h,l,f,n),!a.k.H)break;case m.G:window.gbar.up.dpc(e,h)}};a.k.ja=function(b,c,d,e,h){return c==m.C?0<d&&a.k.$(b,c,e,h)>=d:!1};a.k.ga=function(b,c,d,e,h,g,k,l,f,n){switch(c){case m.C:c=a.k.$(b,c,d,e)+1;window.gbar.up.spd(b,d,c.toString(),!0);break;case m.D:if(f=f||!1,l=l||"",g=g||0,k=k||a.k.A.P,n=n||0,a.k.ta(e,g,k,1,l,f,n),!a.k.H)break;case m.G:window.gbar.up.iic(e,h)}};a.k.na=function(b,c,d,e,h,g){b=a.k.S(c,b,a.k.Q.Ia,a.k.R.O,d,e,null,null);a.k.T(b,h,g)};var p={Ta:"a",Wa:"l",Ua:"c",ka:"d",O:"h",N:"i",gb:"n",J:"x",cb:"ma",eb:"mc",fb:"mi",Xa:"pa",Ya:"pc",$a:"pi",bb:"pn",ab:"px",Za:"pd",hb:"gpa",jb:"gpi",kb:"gpn",lb:"gpx",ib:"gpd"};a.i={};a.i.w={oa:"hplogo",Sa:"pmocntr2"};a.i.A={ea:"0",J:"1",ma:"2"};a.i.p=document.getElementById(a.i.w.Sa);a.i.pa=16;a.i.qa=2;a.i.ra=20;google.promos=google.promos||{};google.promos.toast=google.promos.toast||{};a.i.I=function(b){a.i.p&&(a.i.p.style.display=b?"":"none",a.i.p.parentNode&&(a.i.p.parentNode.style.position=b?"relative":""))};a.i.Z=function(b){try{if(a.i.p&&b&&b.es&&b.es.m){var c=window.gbar.rtl(document.body)?"left":"right";a.i.p.style[c]=b.es.m-a.i.pa+a.i.qa+"px";a.i.p.style.top=a.i.ra+"px"}}catch(d){google.ml(d,!1,{cause:a.i.s+"_PT"})}};google.promos.toast.cl=function(){try{a.i.V==m.D&&a.k.na(a.i.W,a.i.B,a.i.A.ma,a.i.M,a.i.K,a.i.L),window.gbar.up.sl(a.i.B,a.i.s,p.O,void 0,1)}catch(b){google.ml(b,!1,{cause:a.i.s+"_CL"})}};google.promos.toast.cpc=function(){try{a.i.p&&(a.i.I(!1),a.k.la(a.i.p,a.i.V,a.i.w.X,a.i.W,a.i.da,a.i.B,a.i.A.J,a.i.M,a.i.K,a.i.L),window.gbar.up.sl(a.i.B,a.i.s,p.ka,void 0,1))}catch(b){google.ml(b,!1,{cause:a.i.s+"_CPC"})}};a.i.Y=function(){try{if(a.i.p){var b=276,c=document.getElementById(a.i.w.oa);c&&(b=Math.max(b,c.offsetWidth));var d=parseInt(a.i.p.style.right,10)||0;a.i.p.style.visibility=2*(a.i.p.offsetWidth+d)+b>document.body.clientWidth?"hidden":""}}catch(e){google.ml(e,!1,{cause:a.i.s+"_HOSW"})}};a.i.fa=function(){var b=["gpd","spd","aeh","sl"];if(!window.gbar||!window.gbar.up)return!1;for(var c=0,d;d=b[c];c++)if(!(d in window.gbar.up))return!1;return!0};a.i.ha=function(){return a.i.p.currentStyle&&"absolute"!=a.i.p.currentStyle.position};google.promos.toast.init=function(b,c,d,e,h,g,k,l,f,n,s,q,r){try{if(!a.i.fa())google.ml(Error("apa"),!1,{cause:a.i.s+"_INIT"});else if(a.i.p){if(e==m.D&&(n?a.k.H=!0:e=m.G,!l==!f))if(google.ml(Error("tku"),!1,{cause:"zwieback: "+f+", gaia: "+l}),a.k.H)e=m.G;else{a.i.I(!1);return}a.i.w.F="toast_count_"+c+(q?"_"+q:"");a.i.w.X="toast_dp_"+c+(r?"_"+r:"");a.i.s=d;a.i.B=b;a.i.V=e;a.i.W=c;a.i.da=h;a.i.M=l?l:f;a.i.K=!!l;a.i.L=k;a.k.ia(a.i.p,e,a.i.w.X,c)||a.k.ja(a.i.p,e,g,a.i.w.F,c)||a.i.ha()?a.i.I(!1):(a.k.ga(a.i.p,e,a.i.w.F,c,h,a.i.B,a.i.A.ea,a.i.M,a.i.K,a.i.L),s||(window.gbar.up.aeh(window,"resize",a.i.Y),window.lol=a.i.Y,window.gbar.elr&&a.i.Z(window.gbar.elr()),window.gbar.elc&&window.gbar.elc(a.i.Z),a.i.I(!0)),window.gbar.up.sl(a.i.B,a.i.s,p.N))}}catch(t){google.ml(t,!1,{cause:a.i.s+"_INIT"})}};})();</script> <script type="text/javascript">(function(){var sourceWebappPromoID=144002;var sourceWebappGroupID=5;var payloadType=5;var cookieMaxAgeSec=2592000;var dismissalType=5;var impressionCap=25;var gaiaXsrfToken='';var zwbkXsrfToken='';var kansasDismissalEnabled=true;var sessionIndex=0;var invisible=false;window.gbar&&gbar.up&&gbar.up.r&&gbar.up.r(payloadType,function(show){if (show){google.promos.toast.init(sourceWebappPromoID,sourceWebappGroupID,payloadType,dismissalType,cookieMaxAgeSec,impressionCap,sessionIndex,gaiaXsrfToken,zwbkXsrfToken,kansasDismissalEnabled,invisible,'0612');}
});})();</script> </div> </span><br clear="all" id="lgpd"><div id="lga"><img alt="Google" height="95" src="/images/srpr/logo9w.png" style="padding:28px 0 14px" width="269" id="hplogo" onload="window.lol&&lol()"><br><br></div><form action="/search" name="f"><table cellpadding="0" cellspacing="0"><tr valign="top"><td width="25%">&nbsp;</td><td align="center" nowrap=""><input name="ie" value="ISO-8859-1" type="hidden"><input value="en" name="hl" type="hidden"><input name="source" type="hidden" value="hp"><div class="ds" style="height:32px;margin:4px 0"><input style="color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top" autocomplete="off" class="lst" value="" title="Google Search" maxlength="2048" name="q" size="57"></div><br style="line-height:0"><span class="ds"><span class="lsbb"><input class="lsb" value="Google Search" name="btnG" type="submit"></span></span><span class="ds"><span class="lsbb"><input class="lsb" value="I'm Feeling Lucky" name="btnI" onclick="if(this.form.q.value)this.checked=1; else top.location='/doodles/'" type="submit"></span></span></td><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/advanced_search?hl=en&amp;authuser=0">Advanced search</a><a href="/language_tools?hl=en&amp;authuser=0">Language tools</a></td></tr></table><input id="gbv" name="gbv" type="hidden" value="1"></form><div id="gac_scont"></div><div style="font-size:83%;min-height:3.5em"><br></div><span id="footer"><div style="font-size:10pt"><div style="margin:19px auto;text-align:center" id="fll"><a href="/intl/en/ads/">Advertising&nbsp;Programs</a><a href="/services/">Business Solutions</a><a href="https://plus.google.com/116899029375914044550" rel="publisher">+Google</a><a href="/intl/en/about.html">About Google</a></div></div><p style="color:#767676;font-size:8pt">&copy; 2013 - <a href="/intl/en/policies/">Privacy & Terms</a></p></span></center><div id=xjsd></div><div id=xjsi data-jiis="bp"><script>if(google.y)google.y.first=[];(function(){function b(a){window.setTimeout(function(){var c=document.createElement("script");c.src=a;document.getElementById("xjsd").appendChild(c)},0)}google.dljp=function(a){google.xjsu=a;b(a)};google.dlj=b;})();
if(!google.xjs){window._=window._||{};window._._DumpException=function(e){throw e};if(google.timers&&google.timers.load.t){google.timers.load.t.xjsls=new Date().getTime();}google.dljp('/xjs/_/js/k\x3dxjs.hp.en_US.QgXXqNe9H8s.O/m\x3dsb_he,pcc/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dAItRSTMZ4gjPthsSL3eRaZarMVJV0YA7aQ');google.xjs=1;}google.pmc={"sb_he":{"agen":true,"cgen":true,"client":"heirloom-hp","dh":true,"ds":"","eqch":true,"fl":true,"host":"google.com","jam":0,"jsonp":true,"msgs":{"cibl":"Clear Search","dym":"Did you mean:","lcky":"I\u0026#39;m Feeling Lucky","lml":"Learn more","oskt":"Input tools","psrc":"This search was removed from your \u003Ca href=\"/history\"\u003EWeb History\u003C/a\u003E","psrl":"Remove","sbit":"Search by image","srch":"Google Search"},"ovr":{},"pq":"","qcpw":false,"refoq":true,"scd":10,"sce":5,"stok":"dkDtuJZB4Dio0Wuggf4Q95JsxTU"},"pcc":{}};google.y.first.push(function(){if(google.med){google.med('init');google.initHistory();google.med('history');}});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);}</script></div></body></html>                                                                                    ~  echo -n "change me" > /tmp/ansibletest/myfile.txt
 ~  cat /tmp/ansibletest/myfile.txt
change me                                                                                                                                                                                          
 ~  ansible localhost -m get_url -c local -a "url=http://google.com dest=/tmp/ansibletest/myfile.txt force=no"
localhost
| success >> {
   
"changed": false,
   
"dest": "/tmp/ansibletest/myfile.txt",
   
"gid": 0,
   
"group": "wheel",
   
"mode": "0644",
   
"msg": "file already exists",
   
"owner": "levinotik",
   
"size": 9,
   
"state": "file",
   
"uid": 501,
   
"url": "http://google.com"
}


 ~  cat /tmp/ansibletest/myfile.txt
change me                                                                                                                                                                                          
 ~  ansible localhost -m get_url -c local -a "url=http://google.com dest=/tmp/ansibletest/myfile.txt force=yes"
localhost
| success >> {
   
"changed": true,
   
"dest": "/tmp/ansibletest/myfile.txt",
   
"gid": 0,
   
"group": "wheel",
   
"md5sum": "3178fd55ddc36372ff0552dea545187e",
   
"mode": "0644",
   
"msg": "OK (unknown bytes)",
   
"owner": "levinotik",
   
"sha256sum": "",
   
"size": 19067,
   
"src": "/var/folders/j6/fdfzf9bj4rx2zgy1vjd9x5bm0000gn/T/tmpEkHnl6",
   
"state": "file",
   
"uid": 501,
   
"url": "http://google.com"
}


 ~  cat /tmp/ansibletest/myfile.txt
<!doctype html><html itemscope="" itemtype="http://schema.org/WebPage" lang="en"><head><meta content="Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for." name="description"><meta content="noodp" name="robots"><meta content="/images/google_favicon_128.png" itemprop="image"><title>Google</title><script>(function(){window.google={kEI:'9J0AVNmoJYjHgwSw_4LQBA',kEXPI:'17259,4000116,4007661,4008142,4009033,4010806,4010858,4010899,4011228,4011679,4012149,4012373,4013414,4013591,4013723,4013823,4013967,4014016,4014431,4014636,4014805,4015550,4016127,4016279,4016373,4016824,4016976,4017204,4017659,4017694,4017818,4017981,4017982,4018181,4018251,4018569,4018598,4018638,4018923,4019014,4019018,4019142,4019207,4019423,4019438,4019483,4019701,4019793,4019798,4019800,4019849,4019875,4019888,4019995,4020025,4020029,4020031,4020139,4020175,4020239,4020306,4020339,4020379,4020381,4020382,4020385,4020437,4020513,4020514,4020555,4020592,4020664,4020705,4020706,4020707,4020729,4020815,4020822,4020824,4020879,4020892,4020950,4021025,4021067,4021071,4021092,4021110,4021112,4021203,4021338,4021545,4021567,8300007,8300030,8300060,8300063,8300075,8500223,8500272,8500393,8500433,8500474,8500509,8500554,8500556,8500571,8500585,8500593,8500605,10200083,10200297,10200334,10200353,10200396,10200398,10200442,10200448,10200470,10200472,10200523,10200525,10200528,10200556,10200585,10200590,10200592,10200597,10200599,10200601,10200614,10200618',kCSI:{e:'17259,4000116,4007661,4008142,4009033,4010806,4010858,4010899,4011228,4011679,4012149,4012373,4013414,4013591,4013723,4013823,4013967,4014016,4014431,4014636,4014805,4015550,4016127,4016279,4016373,4016824,4016976,4017204,4017659,4017694,4017818,4017981,4017982,4018181,4018251,4018569,4018598,4018638,4018923,4019014,4019018,4019142,4019207,4019423,4019438,4019483,4019701,4019793,4019798,4019800,4019849,4019875,4019888,4019995,4020025,4020029,4020031,4020139,4020175,4020239,4020306,4020339,4020379,4020381,4020382,4020385,4020437,4020513,4020514,4020555,4020592,4020664,4020705,4020706,4020707,4020729,4020815,4020822,4020824,4020879,4020892,4020950,4021025,4021067,4021071,4021092,4021110,4021112,4021203,4021338,4021545,4021567,8300007,8300030,8300060,8300063,8300075,8500223,8500272,8500393,8500433,8500474,8500509,8500554,8500556,8500571,8500585,8500593,8500605,10200083,10200297,10200334,10200353,10200396,10200398,10200442,10200448,10200470,10200472,10200523,10200525,10200528,10200556,10200585,10200590,10200592,10200597,10200599,10200601,10200614,10200618',ei:'9J0AVNmoJYjHgwSw_4LQBA'},authuser:0};google.kHL='en';})();(function(){google.lc=[];google.li=0;google.getEI=function(a){for(var b;a&&(!a.getAttribute||!(b=a.getAttribute("eid")));)a=a.parentNode;return b||google.kEI};google.https=function(){return"https:"==window.location.protocol};google.ml=function(){};google.time=function(){return(new Date).getTime()};google.log=function(a,b,d,h,k){var c=new Image,f=google.lc,e=google.li,g="",l=google.ls||"";c.onerror=c.onload=c.onabort=function(){delete f[e]};f[e]=c;d||-1!=b.search("&ei=")||(g="&ei="+google.getEI(h));a=d||"/"+(k||"gen_204")+"?atyp=i&ct="+a+"&cad="+b+g+l+"&zx="+google.time();/^http:/i.test(a)&&google.https()?(google.ml(Error("a"),!1,{src:a,glmm:1}),delete f[e]):(c.src=a,google.li=e+1)};google.y={};google.x=function(a,b){google.y[a.id]=[a,b];return!1};google.load=function(a,b,d){google.x({id:a+m++},function(){google.load(a,b,d)})};var m=0;})();var _gjwl=location;function _gjuc(){var a=_gjwl.href.indexOf("#");if(0<=a&&(a=_gjwl.href.substring(a),0<a.indexOf("&q=")||0<=a.indexOf("#q="))&&(a=a.substring(1),-1==a.indexOf("#"))){for(var d=0;d<a.length;){var b=d;"&"==a.charAt(b)&&++b;var c=a.indexOf("&",b);-1==c&&(c=a.length);b=a.substring(b,c);if(0==b.indexOf("fp="))a=a.substring(0,d)+a.substring(c,a.length),c=d;else if("cad=h"==b)return 0;d=c}_gjwl.href="/search?"+a+"&cad=h";return 1}return 0}
function _gjh(){!_gjuc()&&window.google&&google.x&&google.x({id:"GJH"},function(){google.nav&&google.nav.gjh&&google.nav.gjh()})};window._gjh&&_gjh();</script><style>#gbar,#guser{font-size:13px;padding-top:1px !important;}#gbar{height:22px}#guser{padding-bottom:7px !important;text-align:right}.gbh,.gbd{border-top:1px solid #c9d7f1;font-size:1px}.gbh{height:0;position:absolute;top:24px;width:100%}@media all{.gb1{height:22px;margin-right:.5em;vertical-align:top}#gbar{float:left}}a.gb1,a.gb4{text-decoration:underline !important}a.gb1,a.gb4{color:#00c !important}.gbi .gb4{color:#dd8e27 !important}.gbf .gb4{color:#900 !important}</style><style>body,td,a,p,.h{font-family:arial,sans-serif}body{margin:0;overflow-y:scroll}#gog{padding:3px 8px 0}td{line-height:.8em}.gac_m td{line-height:17px}form{margin-bottom:20px}.h{color:#36c}.q{color:#00c}.ts td{padding:0}.ts{border-collapse:collapse}em{font-weight:bold;font-style:normal}.lst{height:25px;width:496px}.gsfi,.lst{font:18px arial,sans-serif}.gsfs{font:17px arial,sans-serif}.ds{display:inline-box;display:inline-block;margin:3px 0 4px;margin-left:4px}input{font-family:inherit}a.gb1,a.gb2,a.gb3,a.gb4{color:#11c !important}body{background:#fff;color:black}a{color:#11c;text-decoration:none}a:hover,a:active{text-decoration:underline}.fl a{color:#36c}a:visited{color:#551a8b}a.gb1,a.gb4{text-decoration:underline}a.gb3:hover{text-decoration:none}#ghead a.gb2:hover{color:#fff !important}.sblc{padding-top:5px}.sblc a{display:block;margin:2px 0;margin-left:13px;font-size:11px}.lsbb{background:#eee;border:solid 1px;border-color:#ccc #999 #999 #ccc;height:30px}.lsbb{display:block}.ftl,#fll a{display:inline-block;margin:0 12px}.lsb{background:url(/images/srpr/nav_logo80.png) 0 -258px repeat-x;border:none;color:#000;cursor:pointer;height:30px;margin:0;outline:0;font:15px arial,sans-serif;vertical-align:top}.lsb:active{background:#ccc}.lst:focus{outline:none}#addlang a{padding:0 3px}</style><script></script></head><body bgcolor="#fff"><script>(function(){var src='/images/nav_logo176.png';var iesg=false;document.body.onload = function(){window.n && window.n();if (document.images){new Image().src=src;}
if (!iesg){document.f&&document.f.q.focus();document.gbqf&&document.gbqf.q.focus();}
}
})();</script><div id="mngb">   <div id=gbar><nobr><b class=gb1>Search</b> <a class=gb1 href="http://www.google.com/imghp?hl=en&tab=wi">Images</a> <a class=gb1 href="http://maps.google.com/maps?hl=en&tab=wl">Maps</a> <a class=gb1 href="https://play.google.com/?hl=en&tab=w8">Play</a> <a class=gb1 href="http://www.youtube.com/?tab=w1">YouTube</a> <a class=gb1 href="http://news.google.com/nwshp?hl=en&tab=wn">News</a> <a class=gb1 href="https://mail.google.com/mail/?tab=wm">Gmail</a> <a class=gb1 href="https://drive.google.com/?tab=wo">Drive</a> <a class=gb1 style="text-decoration:none" href="http://www.google.com/intl/en/options/"><u>More</u> &raquo;</a></nobr></div><div id=guser width=100%><nobr><span id=gbn class=gbi></span><span id=gbf class=gbf></span><span id=gbe></span><a href="http://www.google.com/history/optout?hl=en" class=gb4>Web History</a> | <a  href="/preferences?hl=en" class=gb4>Settings</a> | <a target=_top id=gb_70 href="https://accounts.google.com/ServiceLogin?hl=en&continue=http://www.google.com/" class=gb4>Sign in</a></nobr></div><div class=gbh style=left:0></div><div class=gbh style=right:0></div>  </div><center><span id="prt" style="display:block"> <div><style>.pmoabs{background-color:#fff;border:1px solid #E5E5E5;color:#666;font-size:13px;padding-bottom:20px;position:absolute;right:2px;top:3px;z-index:986}#pmolnk{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.kd-button-submit{border:1px solid #3079ed;background-color:#4d90fe;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#4787ed')}.kd-button-submit:hover{border:1px solid #2f5bb7;background-color:#357ae8;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8);filter:progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#357ae8')}.kd-button-submit:active{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3)}#pmolnk a{color:#fff;display:inline-block;font-weight:bold;padding:5px 20px;text-decoration:none;white-space:nowrap}.xbtn{color:#999;cursor:pointer;font-size:23px;line-height:5px;padding-top:5px}.padi{padding:0 8px 0 10px}.padt{padding:5px 20px 0 0;color:#444}.pads{text-align:left;max-width:200px}</style> <div class="pmoabs" id="pmocntr2" style="behavior:url(#default#userdata);display:none"> <table border="0"> <tr> <td colspan="2"> <div class="xbtn" onclick="google.promos&&google.promos.toast&& google.promos.toast.cpc()" style="float:right">&times;</div> </td> </tr> <tr> <td class="padi" rowspan="2"> <img src="/images/icons/product/chrome-48.png"> </td> <td class="pads">A faster way to browse the web</td> </tr> <tr> <td class="padt"> <div class="kd-button-submit" id="pmolnk"> <a href="/chrome/index.html?hl=en&amp;brand=CHNG&amp;utm_source=en-hpp&amp;utm_medium=hpp&amp;utm_campaign=en" onclick="google.promos&&google.promos.toast&& google.promos.toast.cl()">Install Google Chrome</a> </div> </td> </tr> </table> </div> <script type="text/javascript">(function(){var a={o:{}};a.o.Pa=50;a.o.Oa=10;a.o.ca="body";a.o.La=!0;a.o.Fa=function(b,c){var d=a.o.Ja();a.o.Ka(d,b,c);a.o.Na(d);a.o.La&&a.o.Ma(d)};a.o.Na=function(b){(b=a.o.ba(b))&&0<b.forms.length&&b.forms[0].submit()};a.o.Ja=function(){var b=document.createElement("iframe");b.height=0;b.width=0;b.style.overflow="hidden";b.style.top=b.style.left="-100px";b.style.position="absolute";document.body.appendChild(b);return b};a.o.ba=function(b){return b.contentDocument||b.contentWindow.document};a.o.Ka=function(b,c,d){b=a.o.ba(b);b.open();d=["<",a.o.ca,'><form method=POST action="',d,'">'];for(var e in c)c.hasOwnProperty(e)&&d.push('<textarea name="',e,'">',c[e],"</textarea>");d.push("</form></",a.o.ca,">");b.write(d.join(""));b.close()};a.o.aa=function(b,c){c>a.o.Oa?google&&google.ml&&google.ml(Error("ogcdr"),!1,{cause:"timeout"}):b.contentWindow?a.o.Qa(b):window.setTimeout(function(){a.o.aa(b,c+1)},a.o.Pa)};a.o.Qa=function(b){document.body.removeChild(b)};a.o.Ma=function(b){a.o.Ra(b,"load",function(){a.o.aa(b,0)})};a.o.Ra=function(b,c,d){b.addEventListener?b.addEventListener(c,d,!1):b.attachEvent&&b.attachEvent("on"+c,d)};var m={Va:0,C:1,D:2,G:5};a.k={};a.k.Q={Ha:"i",U:"d",Ia:"l"};a.k.A={P:"0",J:"1"};a.k.R={N:1,U:2,O:3};a.k.v={va:"a",ya:"g",F:"c",Ca:"u",Ba:"t",P:"p",Aa:"pid",wa:"eid",Da:"at"};a.k.za=window.location.protocol+"//www.google.com/_/og/promos/";a.k.xa="g";a.k.Ea="z";a.k.H=!1;a.k.$=function(b,c,d){return c==m.C?(b=window.gbar.up.gpd(b,d,!0),null==b?0:parseInt(b,10)):0};a.k.ia=function(b,c,d){return c==m.C?null!=window.gbar.up.gpd(b,d,!0):!1};a.k.S=function(b,c,d,e,h,g,k,l){var f={};f[a.k.v.P]=b;f[a.k.v.ya]=c;f[a.k.v.va]=d;f[a.k.v.Da]=e;f[a.k.v.wa]=h;f[a.k.v.Aa]=1;k&&(f[a.k.v.F]=k);l&&(f[a.k.v.Ca]=l);if(g)f[a.k.v.Ba]=g;else return google.ml(Error("knu"),!1,{cause:"Token is not found"}),null;return f};a.k.T=function(b,c,d){if(b){var e=c?a.k.xa:a.k.Ea;c&&d&&(e+="?authuser="+d);a.o.Fa(b,a.k.za+e)}};a.k.Ga=function(b,c,d,e,h,g,k){b=a.k.S(c,b,a.k.Q.U,a.k.R.U,d,h,null,e);a.k.T(b,g,k)};a.k.ta=function(b,c,d,e,h,g,k){b=a.k.S(c,b,a.k.Q.Ha,a.k.R.N,d,h,e,null);a.k.T(b,g,k)};a.k.la=function(b,c,d,e,h,g,k,l,f,n){switch(c){case m.C:window.gbar.up.spd(b,d,1,!0);break;case m.D:if(f=f||!1,l=l||"",g=g||0,k=k||a.k.A.J,n=n||0,a.k.Ga(e,g,k,h,l,f,n),!a.k.H)break;case m.G:window.gbar.up.dpc(e,h)}};a.k.ja=function(b,c,d,e,h){return c==m.C?0<d&&a.k.$(b,c,e,h)>=d:!1};a.k.ga=function(b,c,d,e,h,g,k,l,f,n){switch(c){case m.C:c=a.k.$(b,c,d,e)+1;window.gbar.up.spd(b,d,c.toString(),!0);break;case m.D:if(f=f||!1,l=l||"",g=g||0,k=k||a.k.A.P,n=n||0,a.k.ta(e,g,k,1,l,f,n),!a.k.H)break;case m.G:window.gbar.up.iic(e,h)}};a.k.na=function(b,c,d,e,h,g){b=a.k.S(c,b,a.k.Q.Ia,a.k.R.O,d,e,null,null);a.k.T(b,h,g)};var p={Ta:"a",Wa:"l",Ua:"c",ka:"d",O:"h",N:"i",gb:"n",J:"x",cb:"ma",eb:"mc",fb:"mi",Xa:"pa",Ya:"pc",$a:"pi",bb:"pn",ab:"px",Za:"pd",hb:"gpa",jb:"gpi",kb:"gpn",lb:"gpx",ib:"gpd"};a.i={};a.i.w={oa:"hplogo",Sa:"pmocntr2"};a.i.A={ea:"0",J:"1",ma:"2"};a.i.p=document.getElementById(a.i.w.Sa);a.i.pa=16;a.i.qa=2;a.i.ra=20;google.promos=google.promos||{};google.promos.toast=google.promos.toast||{};a.i.I=function(b){a.i.p&&(a.i.p.style.display=b?"":"none",a.i.p.parentNode&&(a.i.p.parentNode.style.position=b?"relative":""))};a.i.Z=function(b){try{if(a.i.p&&b&&b.es&&b.es.m){var c=window.gbar.rtl(document.body)?"left":"right";a.i.p.style[c]=b.es.m-a.i.pa+a.i.qa+"px";a.i.p.style.top=a.i.ra+"px"}}catch(d){google.ml(d,!1,{cause:a.i.s+"_PT"})}};google.promos.toast.cl=function(){try{a.i.V==m.D&&a.k.na(a.i.W,a.i.B,a.i.A.ma,a.i.M,a.i.K,a.i.L),window.gbar.up.sl(a.i.B,a.i.s,p.O,void 0,1)}catch(b){google.ml(b,!1,{cause:a.i.s+"_CL"})}};google.promos.toast.cpc=function(){try{a.i.p&&(a.i.I(!1),a.k.la(a.i.p,a.i.V,a.i.w.X,a.i.W,a.i.da,a.i.B,a.i.A.J,a.i.M,a.i.K,a.i.L),window.gbar.up.sl(a.i.B,a.i.s,p.ka,void 0,1))}catch(b){google.ml(b,!1,{cause:a.i.s+"_CPC"})}};a.i.Y=function(){try{if(a.i.p){var b=276,c=document.getElementById(a.i.w.oa);c&&(b=Math.max(b,c.offsetWidth));var d=parseInt(a.i.p.style.right,10)||0;a.i.p.style.visibility=2*(a.i.p.offsetWidth+d)+b>document.body.clientWidth?"hidden":""}}catch(e){google.ml(e,!1,{cause:a.i.s+"_HOSW"})}};a.i.fa=function(){var b=["gpd","spd","aeh","sl"];if(!window.gbar||!window.gbar.up)return!1;for(var c=0,d;d=b[c];c++)if(!(d in window.gbar.up))return!1;return!0};a.i.ha=function(){return a.i.p.currentStyle&&"absolute"!=a.i.p.currentStyle.position};google.promos.toast.init=function(b,c,d,e,h,g,k,l,f,n,s,q,r){try{if(!a.i.fa())google.ml(Error("apa"),!1,{cause:a.i.s+"_INIT"});else if(a.i.p){if(e==m.D&&(n?a.k.H=!0:e=m.G,!l==!f))if(google.ml(Error("tku"),!1,{cause:"zwieback: "+f+", gaia: "+l}),a.k.H)e=m.G;else{a.i.I(!1);return}a.i.w.F="toast_count_"+c+(q?"_"+q:"");a.i.w.X="toast_dp_"+c+(r?"_"+r:"");a.i.s=d;a.i.B=b;a.i.V=e;a.i.W=c;a.i.da=h;a.i.M=l?l:f;a.i.K=!!l;a.i.L=k;a.k.ia(a.i.p,e,a.i.w.X,c)||a.k.ja(a.i.p,e,g,a.i.w.F,c)||a.i.ha()?a.i.I(!1):(a.k.ga(a.i.p,e,a.i.w.F,c,h,a.i.B,a.i.A.ea,a.i.M,a.i.K,a.i.L),s||(window.gbar.up.aeh(window,"resize",a.i.Y),window.lol=a.i.Y,window.gbar.elr&&a.i.Z(window.gbar.elr()),window.gbar.elc&&window.gbar.elc(a.i.Z),a.i.I(!0)),window.gbar.up.sl(a.i.B,a.i.s,p.N))}}catch(t){google.ml(t,!1,{cause:a.i.s+"_INIT"})}};})();</script> <script type="text/javascript">(function(){var sourceWebappPromoID=144002;var sourceWebappGroupID=5;var payloadType=5;var cookieMaxAgeSec=2592000;var dismissalType=5;var impressionCap=25;var gaiaXsrfToken='';var zwbkXsrfToken='';var kansasDismissalEnabled=true;var sessionIndex=0;var invisible=false;window.gbar&&gbar.up&&gbar.up.r&&gbar.up.r(payloadType,function(show){if (show){google.promos.toast.init(sourceWebappPromoID,sourceWebappGroupID,payloadType,dismissalType,cookieMaxAgeSec,impressionCap,sessionIndex,gaiaXsrfToken,zwbkXsrfToken,kansasDismissalEnabled,invisible,'0612');}
});})();</script> </div> </span><br clear="all" id="lgpd"><div id="lga"><img alt="Google" height="95" src="/images/srpr/logo9w.png" style="padding:28px 0 14px" width="269" id="hplogo" onload="window.lol&&lol()"><br><br></div><form action="/search" name="f"><table cellpadding="0" cellspacing="0"><tr valign="top"><td width="25%">&nbsp;</td><td align="center" nowrap=""><input name="ie" value="ISO-8859-1" type="hidden"><input value="en" name="hl" type="hidden"><input name="source" type="hidden" value="hp"><div class="ds" style="height:32px;margin:4px 0"><input style="color:#000;margin:0;padding:5px 8px 0 6px;vertical-align:top" autocomplete="off" class="lst" value="" title="Google Search" maxlength="2048" name="q" size="57"></div><br style="line-height:0"><span class="ds"><span class="lsbb"><input class="lsb" value="Google Search" name="btnG" type="submit"></span></span><span class="ds"><span class="lsbb"><input class="lsb" value="I'm Feeling Lucky" name="btnI" onclick="if(this.form.q.value)this.checked=1; else top.location='/doodles/'" type="submit"></span></span></td><td class="fl sblc" align="left" nowrap="" width="25%"><a href="/advanced_search?hl=en&amp;authuser=0">Advanced search</a><a href="/language_tools?hl=en&amp;authuser=0">Language tools</a></td></tr></table><input id="gbv" name="gbv" type="hidden" value="1"></form><div id="gac_scont"></div><div style="font-size:83%;min-height:3.5em"><br></div><span id="footer"><div style="font-size:10pt"><div style="margin:19px auto;text-align:center" id="fll"><a href="/intl/en/ads/">Advertising&nbsp;Programs</a><a href="/services/">Business Solutions</a><a href="https://plus.google.com/116899029375914044550" rel="publisher">+Google</a><a href="/intl/en/about.html">About Google</a></div></div><p style="color:#767676;font-size:8pt">&copy; 2013 - <a href="/intl/en/policies/">Privacy & Terms</a></p></span></center><div id=xjsd></div><div id=xjsi data-jiis="bp"><script>if(google.y)google.y.first=[];(function(){function b(a){window.setTimeout(function(){var c=document.createElement("script");c.src=a;document.getElementById("xjsd").appendChild(c)},0)}google.dljp=function(a){google.xjsu=a;b(a)};google.dlj=b;})();
if(!google.xjs){window._=window._||{};window._._DumpException=function(e){throw e};if(google.timers&&google.timers.load.t){google.timers.load.t.xjsls=new Date().getTime();}google.dljp('/xjs/_/js/k\x3dxjs.hp.en_US.QgXXqNe9H8s.O/m\x3dsb_he,pcc/rt\x3dj/d\x3d1/t\x3dzcms/rs\x3dAItRSTMZ4gjPthsSL3eRaZarMVJV0YA7aQ');google.xjs=1;}google.pmc={"sb_he":{"agen":true,"cgen":true,"client":"heirloom-hp","dh":true,"ds":"","eqch":true,"fl":true,"host":"google.com","jam":0,"jsonp":true,"msgs":{"cibl":"Clear Search","dym":"Did you mean:","lcky":"I\u0026#39;m Feeling Lucky","lml":"Learn more","oskt":"Input tools","psrc":"This search was removed from your \u003Ca href=\"/history\"\u003EWeb History\u003C/a\u003E","psrl":"Remove","sbit":"Search by image","srch":"Google Search"},"ovr":{},"pq":"","qcpw":false,"refoq":true,"scd":10,"sce":5,"stok":"dkDtuJZB4Dio0Wuggf4Q95JsxTU"},"pcc":{}};google.y.first.push(function(){if(google.med){google.med('init');google.initHistory();google.med('history');}});if(google.j&&google.j.en&&google.j.xi){window.setTimeout(google.j.xi,0);}</script></div></body></html>

Michael DeHaan

unread,
Aug 29, 2014, 11:41:54 AM8/29/14
to ansible...@googlegroups.com
It works remotely too.  That was just for simplicity of testing as there's no extra remote logic involved in the system.

Does this seem resolved for you?



Levi Notik

unread,
Aug 29, 2014, 4:50:16 PM8/29/14
to ansible...@googlegroups.com
Yes, it works now. Thanks for all your help, Michael. Really appreciate it.
...
Reply all
Reply to author
Forward
0 new messages