<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>sorry, I may have seemed to imply that ansible needs to be 2.2. I think just 2.2 or greater. stick with 2.3</p>
<p><br>
</p>
<p>see below</p>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> xsce-devel@googlegroups.com <xsce-devel@googlegroups.com> on behalf of Reno McDonald <darkenvy6@gmail.com><br>
<b>Sent:</b> Sunday, January 15, 2017 1:30 PM<br>
<b>To:</b> xsce-devel@googlegroups.com<br>
<b>Cc:</b> server-devel<br>
<b>Subject:</b> Re: [XSCE] xsce on rpi georgehunt's base-6.2</font>
<div> </div>
</div>
<div>
<div dir="ltr">Is Ansible 2.2 the magical version? I have some notes on my unsuccessful attempts to install XSCE. So far, I have not succeeded at installing XSCE on a RPI2. (Do note though that imaging my SD card does work on the RPI2.) The various Ansible
 versions are mostly pulled from Github Except where noted.
<div><br>
</div>
<div><br>
</div>
<div>All of these are <font color="#9900ff">RASPBIAN JESSIE LITE </font><font color="#000000">and George's
</font><font color="#9900ff">Base-6.2</font><font color="#000000"> branch (except where noted)</font>.</div>
<div><br>
</div>
<div>
<div>
<ul>
<li><font color="#9900ff">Ansible 1.8</font> Does not work. Roles use new keywords, ansible recognizes this and exits.</li></ul>
</div>
<div>
<ul>
<li><font color="#9900ff">Ansible 1.9</font> had a series of problems to what I later think is due to newer commands. Also, duplicate keys cause it to halt. (couldnt find duplicate keys, but that's what Ansible said). Wasn't taking such detailed notes at that
 time :\.</li><li><font color="#9900ff">Ansible 2.3.0 </font><font color="#000000">(Installed from Tim's Script.)</font>
<ul>
<li><i>fatal: Unable to mark file vars/local_vars.yml</i></li><li><i>I think this is an attempt to untrack local_vars to permit changes.  It will only cause a problem if you make changes and later try to git pull</i></li><li>Error occurs and simply continues</li></ul>
</li></ul>
</div>
</div>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>  TASK [Gathering Facts] ****************************************************************************</i></blockquote>
</div>
</div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>  ok: [127.0.0.1]</i></blockquote>
</div>
</div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<div>
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>   [WARNING]: While constructing a mapping from /opt/schoolserver/xsce/vars/Debian.yml, line 1,</i></blockquote>
</div>
</div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>  column 1, found a duplicate dict key (apache_log_dir). Using last defined value only.</i></blockquote>
</blockquote>
</blockquote>
<ul>
<ul>
<li> 2.3.0 doesn't care about duplicate keys and gracefully handles by using last duplicate key it sees. Previous versions error & stops.</li></ul>
</ul>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>TASK [xsce-admin : Enable ssl] ********************************************************************</i></blockquote>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px; border:none; padding:0px">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>  fatal: [127.0.0.1]: FAILED! => {"changed": false, "failed": true, "msg": "Error executing /usr/sbin/apache2ctl: [Thu Jan 12 22:24:50.174043 2017] [proxy_html:notice] [pid 8890] AH01425: I18n support in mod_proxy_html requires mod_xml2enc. Without it, non-ASCII
 characters in proxied pages are likely to display incorrectly.\n[Thu Jan 12 22:24:50.180203 2017] [alias:warn] [pid 8890] AH00671: The Alias directive in /etc/apache2/sites-enabled/010-xsce.conf at line 271 will probably never match because it overlaps an
 earlier Alias.\n(2)No such file or directory: AH02297: Cannot access directory '/var/log/apache2}/' for log file '/var/log/apache2}/access.log' defined at /etc/apache2/sites-enabled/010-xsce.conf:158\nAH00014: Configuration check failed\n"} </i></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i><br>
</i></blockquote>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<i>this would be a new bug as it is the area currently getting worked on</i></blockquote>
</blockquote>
</blockquote>
<div>
<ul>
</ul>
<ul>
</ul>
<ul>
</ul>
</div>
<div>
<ul>
<ul>
<li>/etc/apache2/sites-enabled/010-xsce.conf line 158 has a type:<br>
<ul>
<li>A bracket breaks the config. </li><li>Upon fixing and rerunning, the typo resurfaces.</li><li><br>
</li><li>fixing the target never helps because the next ansible run replaces your fix.  need to fix in ansible. hopefully George will do so.</li></ul>
</li></ul>
</ul>
<div>not sure 6.1 ever ran on raspbian</div>
<div><br>
</div>
</div>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<font color="#000000"><i>TASK [httpd : Create httpd config files] **********************************************************</i></font></blockquote>
</div>
</blockquote>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<font color="#000000"><i>  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/010-xsce.conf', u'src': u'010-xsce.conf.j2', u'mode': u'0755'}) => {"changed": true, "failed": true, "item": {"dest": "/etc/httpd/conf.d/010-xsce.conf", "mode": "0755", "src":
 "010-xsce.conf.j2"}, "msg": "Destination directory /etc/httpd/conf.d does not exist"}</i></font></blockquote>
</div>
</blockquote>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<font color="#000000"><i>  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/proxy_ajp.conf', u'src': u'proxy_ajp.conf.j2', u'mode': u'0644'}) => {"changed": true, "failed": true, "item": {"dest": "/etc/httpd/conf.d/proxy_ajp.conf", "mode": "0644", "src":
 "proxy_ajp.conf.j2"}, "msg": "Destination directory /etc/httpd/conf.d does not exist"}</i></font></blockquote>
</div>
</blockquote>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<font color="#000000"><i>  ok: [127.0.0.1] => (item={u'dest': u'/etc/php.ini', u'src': u'php.ini.j2', u'mode': u'0644'})</i></font></blockquote>
</div>
</blockquote>
<blockquote style="margin:0 0 0 40px; border:none; padding:0px">
<div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<font color="#000000"><i>  failed: [127.0.0.1] (item={u'dest': u'/etc/httpd/conf.d/xs-console.conf', u'src': u'xs-console.conf.j2', u'mode': u'0644'}) => {"changed": true, "failed": true, "item": {"dest": "/etc/httpd/conf.d/xs-console.conf", "mode": "0644",
 "src": "xs-console.conf.j2"}, "msg": "Destination directory /etc/httpd/conf.d does not exist"}</i></font></blockquote>
</div>
</blockquote>
</blockquote>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jan 15, 2017 at 7:09 AM, Tim Moody <span dir="ltr">
<<a href="mailto:tim@timmoody.com" target="_blank">tim@timmoody.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_3984670701543030886divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>? that; <span style="font-family:Calibri,Arial,Helvetica,sans-serif,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols; font-size:16px"> error in the previous email</span></p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="m_3984670701543030886divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><span class=""><b>From:</b>
<a href="mailto:xsce-devel@googlegroups.com" target="_blank">xsce-devel@googlegroups.com</a> <<a href="mailto:xsce-devel@googlegroups.com" target="_blank">xsce-devel@googlegroups.com</a>> on behalf of Anish Mangal <<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>><br>
</span><b>Sent:</b> Sunday, January 15, 2017 9:49 AM<br>
<b>To:</b> xsce-devel<br>
<b>Cc:</b> server-devel<br>
<b>Subject:</b> Re: [XSCE] xsce on rpi georgehunt's base-6.2</font>
<div> </div>
</div>
<div>
<div class="h5">
<div>
<div dir="ltr">Thx. got past that, now hitting the error in the previous email I sent.
<br>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sun, Jan 15, 2017 at 8:15 PM, Tim Moody <span dir="ltr">
<<a href="mailto:tim@timmoody.com" target="_blank">tim@timmoody.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">
<div id="m_3984670701543030886m_3197124959662083354divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p><br>
</p>
<br>
<br>
<div style="color:rgb(0,0,0)">
<hr style="display:inline-block; width:98%">
<div id="m_3984670701543030886m_3197124959662083354divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b>
<a href="mailto:xsce-devel@googlegroups.com" target="_blank">xsce-devel@googlegroups.com</a> <<a href="mailto:xsce-devel@googlegroups.com" target="_blank">xsce-devel@googlegroups.com</a>> on behalf of Anish Mangal <<a href="mailto:anishmg@umich.edu" target="_blank">anishmg@umich.edu</a>><br>
<b>Sent:</b> Sunday, January 15, 2017 7:52 AM<br>
<b>To:</b> xsce-devel; server-devel<br>
<b>Subject:</b> [XSCE] xsce on rpi georgehunt's base-6.2</font>
<div> </div>
</div>
<div>
<div dir="ltr"><span>
<div>Hi,<br>
<br clear="all">
now setting up xsce on rpi3 from scratch<br>
[trying on 2017-01-11-raspbian-jessie-lit<wbr>e.img as base]<br>
<br>
log of commands follows #<br>
# sudo apt-get update [success]<br>
# sudo apt-get upgrade [success]</div>
</span>
<div>- I don't normally do this one<br>
<br>
</div>
<span>
<div># apt-get install vim git ansible [success] </div>
</span>
<div>I follow George in using <a href="https://github.com/tim-moody/xsce-factory/blob/master/scripts/ansible/get-ansible" class="m_3984670701543030886m_3197124959662083354OWAAutoLink" id="m_3984670701543030886m_3197124959662083354LPlnk490791" target="_blank">https://github.com/tim-m<wbr>oody/xsce-factory/blob/master/<wbr>scripts/ansible/get-ansible</a> to
 install ansible (2.2.x)</div>
<span>
<div><br>
# mkdir /opt/schoolserver<br>
# cd /opt/schoolserver<br>
# git clone <a href="https://github.com/georgejhunt/xsce.git" id="m_3984670701543030886m_3197124959662083354LPlnk887170" target="_blank">
https://github.com/georgejhunt<wbr>/xsce.git</a> [success]<br>
# cd xsce<br>
# git branch [success base-6.2]<br>
# ./runansible [here-we-go!]<br>
<b>ERROR: become is not a legal parameter at this level in an Ansible Playbook</b><br>
<br>
</div>
Perhaps this is an incorrect version of ansible 1.7.2 which gets installed by default. How do I fix this? </span></div>
<div dir="ltr"><br>
</div>
<div dir="ltr">become is a new keyword<br>
<div>
<div class="m_3984670701543030886m_3197124959662083354gmail_signature">
<div dir="ltr">
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="m_3984670701543030886gmail_signature">
<div dir="ltr">
<div>Anish<br>
</div>
<div><br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>