<div dir="ltr"><span style="color:rgb(80,0,80);font-size:12.8000001907349px">Sharon Kimble liked your message with Boxer for Android.</span><br><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px"><br></span></div><div><font color="#500050"><span style="font-size:12.8000001907349px">Oh my god please tell me that 'liking' emails isn't now a thing </span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 3 February 2015 at 15:29, Sharon Kimble <span dir="ltr"><<a href="mailto:boudiccas@skimble.plus.com" target="_blank">boudiccas@skimble.plus.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="im HOEnZb">Sharon Kimble liked your message with Boxer for Android.<br>
<br>
On 3 Feb 2015 12:30, Dan Attwood <<a href="mailto:danattwood@gmail.com">danattwood@gmail.com</a>> wrote:<br>
><br>
</span><div class="HOEnZb"><div class="h5">>  ssh-copy-id <a href="mailto:administrator@10.0.100.93">administrator@10.0.100.93</a><br>
><br>
><br>
> manage to hit send to soon<br>
><br>
> On 3 February 2015 at 12:29, Dan Attwood <<a href="mailto:danattwood@gmail.com">danattwood@gmail.com</a>> wrote:<br>
>><br>
>> my host files looks like this:<br>
>><br>
>> [all:vars]<br>
>> ansible_sudo_pass=secretpassword<br>
>><br>
>> [servers]<br>
>> 10.0.100.56 <br>
>> 10.0.100.72<br>
>> 10.0.100.93<br>
>> 10.0.100.38<br>
>><br>
>><br>
>> my playbook is:<br>
>><br>
>> - hosts: servers<br>
>>   gather_facts: no<br>
>>   user: administrator<br>
>>   remote_user: administrator<br>
>>   sudo: yes<br>
>>   tasks:<br>
>>    - name: updates a server<br>
>>      apt: update_cache=yes<br>
>>    - name: upgrade a server<br>
>>      apt: upgrade=dist<br>
>><br>
>><br>
>> So it thought I was pretty clear to ansible that the user is 'administrator'<br>
>><br>
>><br>
>> when i copied the keys over i did:<br>
>><br>
>><br>
>><br>
>> On 3 February 2015 at 12:26, Kevin Groves <<a href="mailto:kgroves@ksoft-creative-projects.co.uk">kgroves@ksoft-creative-projects.co.uk</a>> wrote:<br>
>>><br>
>>><br>
>>> On 03/02/15 09:00, Dan Attwood wrote:<br>
>>>><br>
>>>> ok i've done that and that speed things up a bit.<br>
>>>> unfortunately it speeds it towards the next fail. witht he debug on I can the errors lists below.<br>
>>>> I've double checked that I can ssh into the servers via kay and I'm following the note I made when I had this working at home so and dan :-(<br>
>>>><br>
>>>> error below<br>
>>>><br>
>>>><br>
>>>> fatal: [10.0.100.37] => SSH encountered an unknown error. The output was:<br>
>>>> OpenSSH_6.6.1, OpenSSL 1.0.1f 6 Jan 2014<br>
>>>> debug1: Reading configuration data /etc/ssh/ssh_config<br>
>>>> debug1: /etc/ssh/ssh_config line 19: Applying options for *<br>
>>>> debug1: auto-mux: Trying existing master<br>
>>><br>
>>><br>
>>><br>
>>>> debug1: Control socket "/home/administrator/.ansible/cp/ansible-ssh-10.0.100.37-22-administrator" does not exist<br>
>>><br>
>>><br>
>>> Is this home dir connected with an 'administrator' user? It could be that ansible is using the wrong user key to connect with what looks like 'root' on the other machine.<br>
>>><br>
>>> Hopefully its just a matter of which user is being used on which side.<br>
>>><br>
>>> You might also want to take a look at the ansible config file. Mine is in /etc/ansible/ansible.cfg which has lines like:<br>
>>><br>
>>> poll_interval  = 15<br>
>>> sudo_user      = root<br>
>>> #ask_sudo_pass = True<br>
>>> #ask_pass      = True<br>
>>> transport      = smart<br>
>>> remote_port    = 22<br>
>>><br>
>>> I think you can be specific about what users are used instead of assuming it knows what you really mean. :-)<br>
>>><br>
>>> Kev<br>
>>><br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Kent mailing list<br>
>>> <a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
>>> <a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
>><br>
>><br>
><br>
_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a></div></div></blockquote></div><br></div>