[Server-devel] [XSCE] xsce on rpi georgehunt's base-6.2

Tim Moody tim at timmoody.com
Sun Jan 15 13:52:33 EST 2017


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


see below

________________________________
From: xsce-devel at googlegroups.com <xsce-devel at googlegroups.com> on behalf of Reno McDonald <darkenvy6 at gmail.com>
Sent: Sunday, January 15, 2017 1:30 PM
To: xsce-devel at googlegroups.com
Cc: server-devel
Subject: Re: [XSCE] xsce on rpi georgehunt's base-6.2

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.


All of these are RASPBIAN JESSIE LITE and George's Base-6.2 branch (except where noted).


  *   Ansible 1.8 Does not work. Roles use new keywords, ansible recognizes this and exits.

  *   Ansible 1.9 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 :\.
  *   Ansible 2.3.0 (Installed from Tim's Script.)
     *   fatal: Unable to mark file vars/local_vars.yml
     *   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
     *   Error occurs and simply continues

  TASK [Gathering Facts] ****************************************************************************
  ok: [127.0.0.1]
   [WARNING]: While constructing a mapping from /opt/schoolserver/xsce/vars/Debian.yml, line 1,
  column 1, found a duplicate dict key (apache_log_dir). Using last defined value only.

     *    2.3.0 doesn't care about duplicate keys and gracefully handles by using last duplicate key it sees. Previous versions error & stops.

TASK [xsce-admin : Enable ssl] ********************************************************************
  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"}

this would be a new bug as it is the area currently getting worked on

     *   /etc/apache2/sites-enabled/010-xsce.conf line 158 has a type:
        *   A bracket breaks the config.
        *   Upon fixing and rerunning, the typo resurfaces.
        *
        *   fixing the target never helps because the next ansible run replaces your fix.  need to fix in ansible. hopefully George will do so.

not sure 6.1 ever ran on raspbian

TASK [httpd : Create httpd config files] **********************************************************
  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"}
  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"}
  ok: [127.0.0.1] => (item={u'dest': u'/etc/php.ini', u'src': u'php.ini.j2', u'mode': u'0644'})
  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"}














On Sun, Jan 15, 2017 at 7:09 AM, Tim Moody <tim at timmoody.com<mailto:tim at timmoody.com>> wrote:

? that;  error in the previous email


________________________________
From: xsce-devel at googlegroups.com<mailto:xsce-devel at googlegroups.com> <xsce-devel at googlegroups.com<mailto:xsce-devel at googlegroups.com>> on behalf of Anish Mangal <anishmg at umich.edu<mailto:anishmg at umich.edu>>
Sent: Sunday, January 15, 2017 9:49 AM
To: xsce-devel
Cc: server-devel
Subject: Re: [XSCE] xsce on rpi georgehunt's base-6.2

Thx. got past that, now hitting the error in the previous email I sent.

On Sun, Jan 15, 2017 at 8:15 PM, Tim Moody <tim at timmoody.com<mailto:tim at timmoody.com>> wrote:



________________________________
From: xsce-devel at googlegroups.com<mailto:xsce-devel at googlegroups.com> <xsce-devel at googlegroups.com<mailto:xsce-devel at googlegroups.com>> on behalf of Anish Mangal <anishmg at umich.edu<mailto:anishmg at umich.edu>>
Sent: Sunday, January 15, 2017 7:52 AM
To: xsce-devel; server-devel
Subject: [XSCE] xsce on rpi georgehunt's base-6.2

Hi,

now setting up xsce on rpi3 from scratch
[trying on 2017-01-11-raspbian-jessie-lite.img as base]

log of commands follows #
# sudo apt-get update [success]
# sudo apt-get upgrade [success]
- I don't normally do this one

# apt-get install vim git ansible [success]
I follow George in using https://github.com/tim-moody/xsce-factory/blob/master/scripts/ansible/get-ansible to install ansible (2.2.x)

# mkdir /opt/schoolserver
# cd /opt/schoolserver
# git clone https://github.com/georgejhunt/xsce.git [success]
# cd xsce
# git branch [success base-6.2]
# ./runansible [here-we-go!]
ERROR: become is not a legal parameter at this level in an Ansible Playbook

Perhaps this is an incorrect version of ansible 1.7.2 which gets installed by default. How do I fix this?

become is a new keyword




--
Anish



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20170115/e2c12a8a/attachment.html>


More information about the Server-devel mailing list