<div dir="ltr">On a 2 dongle XO 1.75 (the "nice" one, not the "crappy" one) installing from <a href="https://github.com/XSCE/xsce.git">https://github.com/XSCE/xsce.git</a> master<br><br>The install fails with this:<br>
<br>TASK: [Enable postgresl access by md5 method] ********************************* <br>failed: [127.0.0.1] => {"failed": true, "item": ""}<br>msg: this module requires key=value arguments (['backup=yes', '>', 'dest=/library/pgsql-xs/pg_hba.conf', 'regexp=^host\\s+statsconso', 'line=host statsconso statsconso samehost md5', 'state=present', 'insertafter=^# IPv4 local connections', 'owner=postgres', 'group=postgres'])<br>
<br>FATAL: all hosts have already failed -- aborting<br><br>PLAY RECAP ******************************************************************** <br> to retry, use: --limit @/root/dxs.retry<br><br>127.0.0.1 : ok=112 changed=32 unreachable=0 failed=1 <br>
<br>The latest commit was:<br>-bash-4.2# git log<br>commit e02e820d00432f910151340ac8743a598b9f936e<br>Merge: 794133f 405f397<br>Author: Jerry <<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>><br>Date: Thu Oct 24 14:01:06 2013 -0500<br>
<br> Merge remote-tracking branch 'dxs/master' into dxs<br><br><br><br>All the scrollback below:<br><br><br>-bash-4.2# git clone <a href="https://github.com/XSCE/xsce.git">https://github.com/XSCE/xsce.git</a><br>
Cloning into 'xsce'...<br>remote: Counting objects: 10176, done.<br>remote: Compressing objects: 100% (3484/3484), done.<br>remote: Total 10176 (delta 6367), reused 10104 (delta 6303)<br>Receiving objects: 100% (10176/10176), 75.62 MiB | 717 KiB/s, done.<br>
Resolving deltas: 100% (6367/6367), done.<br>-bash-4.2# ls<br>xsce<br>-bash-4.2# cd xsce/<br>-bash-4.2# ls<br>COPYING README.networking ansible_hosts dxs.spec plugins.d scripts tests.sh xsc_tools<br>
Makefile README.no-fsck-questions cfg dxs.yml roles test_master_build.txt vars<br>README README.rst docs library runansible test_release03_build.txt <a href="http://xs-config.spec.in">xs-config.spec.in</a><br>
<br>Edited vars/default_vars.yml for my interfaces:<br><br>-bash-4.2# cat vars/default_vars.yml <br>#Domain name<br>xsce_hostname : schoolserver<br>xsce_domain: local<br><br>#Network<br>xsce_networks:<br> wan: <br> iface: eth1<br>
ip: dhcp<br> lan:<br> iface: eth2<br> ip: 172.18.96.1<br> network: 172.18.96.0<br> netmask: 255.255.224.0<br><br>-bash-4.2# ./runansible xo<br>Running local playbooks! <br><br>PLAY [all] ******************************************************************** <br>
<br>GATHERING FACTS *************************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Install xs repo] ******************************************************* <br>changed: [127.0.0.1]<br><br>
TASK: [Disable sleep] ********************************************************* <br>skipping: [127.0.0.1]<br><br>TASK: [Disable sleep on lid closing] ****************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Keep yum cache] ******************************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Keep docs when installing packages] ************************************ <br>changed: [127.0.0.1]<br>
<br>TASK: [Configure networkmanager plugin] *************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Change failure and interval settings for modem connection] ************* <br>changed: [127.0.0.1] => (item={'option': 'lcp-echo-failure', 'value': '5'})<br>
changed: [127.0.0.1] => (item={'option': 'lcp-echo-interval', 'value': '30'})<br><br>TASK: [Create bigger rwtab] *************************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Remove dhcpd entry from /etc/rwtab] ************************************ <br>changed: [127.0.0.1]<br><br>TASK: [Persist /etc/hosts between reboots] ************************************ <br>changed: [127.0.0.1]<br>
<br>TASK: [Disable /var/log tmpfs] ************************************************ <br>changed: [127.0.0.1]<br><br>TASK: [Disable graphical login] *********************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Reboot system] ********************************************************* <br>Connection to 192.168.1.11 closed by remote host.<br>Connection to 192.168.1.11 closed.<br>astrid@astrid-dell ~ $ ssh <a href="mailto:olpc@192.168.1.11">olpc@192.168.1.11</a><br>
Last login: Mon Jul 15 16:10:09 2013<br><br> Dup dor a'az Mubster! \_____/ Bonjour, enfants du monde!<br> Ciao, bambini di tutto il mondo! || o || ¡Hola, chicos del mundo!<br> Hallo, Kinder der Welt! |._X_.| Hallo, kinderen van de wereld!<br>
Hello, children of the world! //_=_=_\\ Olá, crianças do mundo!<br><br>[olpc@xo-74-39-ab ~]$ sudo su -<br>-bash-4.2# ls<br>xsce<br>-bash-4.2# cd xsce/<br>-bash-4.2# ls<br>COPYING README.networking ansible_hosts dxs.spec plugins.d scripts tests.sh xsc_tools<br>
Makefile README.no-fsck-questions cfg dxs.yml roles test_master_build.txt vars<br>README README.rst docs library runansible test_release03_build.txt <a href="http://xs-config.spec.in">xs-config.spec.in</a><br>
-bash-4.2# ./runansible <br>Running local playbooks! <br><br>PLAY [all] ******************************************************************** <br><br>GATHERING FACTS *************************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Install xs repo] ******************************************************* <br>ok: [127.0.0.1]<br><br>TASK: [Disable sleep] ********************************************************* <br>skipping: [127.0.0.1]<br>
<br>TASK: [Disable sleep on lid closing] ****************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Keep yum cache] ******************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Keep docs when installing packages] ************************************ <br>
ok: [127.0.0.1]<br><br>TASK: [Configure networkmanager plugin] *************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Change failure and interval settings for modem connection] ************* <br>ok: [127.0.0.1] => (item={'option': 'lcp-echo-failure', 'value': '5'})<br>
ok: [127.0.0.1] => (item={'option': 'lcp-echo-interval', 'value': '30'})<br><br>TASK: [Create bigger rwtab] *************************************************** <br>ok: [127.0.0.1]<br><br>
TASK: [Remove dhcpd entry from /etc/rwtab] ************************************ <br>ok: [127.0.0.1]<br><br>TASK: [Persist /etc/hosts between reboots] ************************************ <br>ok: [127.0.0.1]<br><br>TASK: [Disable /var/log tmpfs] ************************************************ <br>
ok: [127.0.0.1]<br><br>TASK: [Disable graphical login] *********************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Reboot system] ********************************************************* <br>skipping: [127.0.0.1]<br>
<br>TASK: [Create /library] ******************************************************* <br>ok: [127.0.0.1]<br><br>TASK: [Install common packages] *********************************************** <br>ok: [127.0.0.1] => (item=createrepo,acpid,mlocate,mtd-utils,rsync,htop,etckeeper,python-passlib)<br>
<br>TASK: [Keep yum cache] ******************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Disable root login with password] ************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Set hostname] ********************************************************** <br>
changed: [127.0.0.1]<br><br>TASK: [Enable common services] ************************************************ <br>ok: [127.0.0.1] => (item=sshd)<br><br>TASK: [Install chrony package] ************************************************ <br>
ok: [127.0.0.1] => (item=chrony)<br><br>TASK: [Set chrony subnet, so that the clients may "ping and sync" with DXS.] *** <br>changed: [127.0.0.1]<br><br>TASK: [Add stratum configuration to chrony] *********************************** <br>
changed: [127.0.0.1]<br><br>TASK: [Install avahi package] ************************************************* <br>ok: [127.0.0.1] => (item=nss-mdns,avahi,avahi-tools,avahi-ui)<br><br>TASK: [Enable avahi service] ************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [sysctl name=net.ipv4.ip_forward value=1 state=present] ***************** <br>ok: [127.0.0.1]<br><br>TASK: [sysctl name=net.ipv4.conf.default.rp_filter value=1 state=present] ***** <br>ok: [127.0.0.1]<br>
<br>TASK: [sysctl name=net.ipv4.conf.default.accept_source_route value=0 state=present] *** <br>ok: [127.0.0.1]<br><br>TASK: [sysctl name=kernel.sysrq value=1 state=present] ************************ <br>ok: [127.0.0.1]<br>
<br>TASK: [sysctl name=kernel.core_uses_pid value=1 state=present] **************** <br>ok: [127.0.0.1]<br><br>TASK: [sysctl name=net.ipv4.tcp_syncookies value=1 state=present] ************* <br>ok: [127.0.0.1]<br><br>TASK: [sysctl name=kernel.shmmax value=268435456 state=present] *************** <br>
ok: [127.0.0.1]<br><br>TASK: [Get network-manager status] ******************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Get WAN type] ********************************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Get mac address for lan interface] ************************************* <br>changed: [127.0.0.1]<br><br>TASK: [Get mac address for wan interface] ************************************* <br>changed: [127.0.0.1]<br>
<br>TASK: [Configure /etc/sysconfig/network] ************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Configure /etc/hosts] ************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Configure /etc/hosts] ************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Configure lan interface] *********************************************** <br>changed: [127.0.0.1] => (item={'ip': '172.18.96.1', 'netmask': '255.255.224.0', 'iface': 'eth2', 'network': '172.18.96.0'})<br>
<br>TASK: [Configure lan mac address] ********************************************* <br>changed: [127.0.0.1]<br><br>TASK: [Create wan xs flags] *************************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Create lan xs flags] *************************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Create domain flag] **************************************************** <br>changed: [127.0.0.1]<br>
<br>TASK: [Install dhcp package] ************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Configure dhcpd] ******************************************************* <br>ok: [127.0.0.1] => (item={'dest': '/etc/dhcpd-xs.conf', 'src': 'dhcp/dhcpd-xs.conf.j2', 'mode': '0644'})<br>
changed: [127.0.0.1] => (item={'dest': '/etc/sysconfig/dhcpd', 'src': 'dhcp/dhcpd-env.j2', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/dhcpd.service', 'src': 'dhcp/dhcpd.service', 'mode': '0755'})<br>
<br>TASK: [Create dhcpd needed files] ********************************************* <br>skipping: [127.0.0.1]<br><br>TASK: [Check leases permissions] ********************************************** <br>ok: [127.0.0.1]<br><br>
TASK: [Enable dhcpd service] ************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Disable firewalld service] ********************************************* <br>ok: [127.0.0.1]<br><br>TASK: [Install iptables service package] ************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Create olpc-scripts directory] ***************************************** <br>ok: [127.0.0.1] => (item=/etc/sysconfig/olpc-scripts/)<br>ok: [127.0.0.1] => (item=/etc/sysconfig/olpc-scripts/setup.d/installed/)<br>
<br>TASK: [Create gateway flag] *************************************************** <br>skipping: [127.0.0.1]<br><br>TASK: [Install iptables services] ********************************************* <br>changed: [127.0.0.1] => (item={'dest': '/etc/sysconfig/olpc-scripts/iptables-xs', 'src': 'gateway/iptables-xs.j2'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/olpc-scripts/ip6tables-xs', 'src': 'gateway/ip6tables-xs'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/iptables-config', 'src': 'gateway/iptables-config'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/iptables.service', 'src': 'gateway/iptables.service'})<br>changed: [127.0.0.1] => (item={'dest': '/usr/bin/xs-gen-iptables', 'src': 'gateway/xs-gen-iptables'})<br>
<br>TASK: [Enable iptables service] *********************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Run iptables] ********************************************************** <br>changed: [127.0.0.1]<br><br>
TASK: [Install named packages] ************************************************ <br>ok: [127.0.0.1] => (item=bind,bind-utils)<br><br>TASK: [Set folder permission] ************************************************* <br>changed: [127.0.0.1] => (item=/var/named-xs)<br>
changed: [127.0.0.1] => (item=/var/named-xs/data)<br>changed: [127.0.0.1] => (item=/etc/sysconfig/olpc-scripts/domain_config.d)<br><br>TASK: [Configure named] ******************************************************* <br>
ok: [127.0.0.1] => (item={'dest': '/etc/named-xs.conf', 'src': 'named-xs.conf.j2', 'mode': '0644', 'owner': 'root'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/named', 'src': 'named.j2', 'mode': '0755', 'owner': 'root'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/olpc-scripts/domain_config.d/named', 'src': 'named', 'mode': '0755', 'owner': 'root'})<br>changed: [127.0.0.1] => (item={'dest': '/var/named-xs/localdomain.zone', 'src': 'localdomain.zone', 'mode': '0755', 'owner': 'named'})<br>
ok: [127.0.0.1] => (item={'dest': '/var/named-xs/localhost.zone', 'src': 'localhost.zone', 'mode': '0755', 'owner': 'named'})<br>changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.broadcast', 'src': 'named.broadcast', 'mode': '0755', 'owner': 'named'})<br>
changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.ip6.local', 'src': 'named.ip6.local', 'mode': '0755', 'owner': 'named'})<br>changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.local', 'src': 'named.local', 'mode': '0755', 'owner': 'named'})<br>
changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.rfc1912.zones', 'src': 'named.rfc1912.zones', 'mode': '0755', 'owner': 'named'})<br>changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.root', 'src': 'named.root', 'mode': '0755', 'owner': 'named'})<br>
changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.root.hints', 'src': 'named.root.hints', 'mode': '0755', 'owner': 'named'})<br>changed: [127.0.0.1] => (item={'dest': '/var/named-xs/named.zero', 'src': 'named.zero', 'mode': '0755', 'owner': 'named'})<br>
ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.external.zone.db', 'src': 'school.external.zone.db', 'mode': '0755', 'owner': 'named'})<br>ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.internal.zone.16.in-addr.db', 'src': 'school.internal.zone.16.in-addr.db.j2', 'mode': '0644', 'owner': 'named'})<br>
ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.internal.zone.32.in-addr.db', 'src': 'school.internal.zone.32.in-addr.db.j2', 'mode': '0644', 'owner': 'named'})<br>
ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.internal.zone.48.in-addr.db', 'src': 'school.internal.zone.48.in-addr.db.j2', 'mode': '0644', 'owner': 'named'})<br>
ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.internal.zone.db', 'src': 'school.internal.zone.db', 'mode': '0755', 'owner': 'root'})<br>ok: [127.0.0.1] => (item={'dest': '/var/named-xs/school.internal.zone.in-addr.db', 'src': 'school.internal.zone.in-addr.db.j2', 'mode': '0644', 'owner': 'named'})<br>
changed: [127.0.0.1] => (item={'dest': '/var/named-xs/data/dummy', 'src': 'dummy', 'mode': '0755', 'owner': 'named'})<br><br>TASK: [Enable named service] ************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Install ejabberd packages] ********************************************* <br>ok: [127.0.0.1] => (item=ejabberd-2.1.11)<br><br>TASK: [Configure ejabberd] **************************************************** <br>
ok: [127.0.0.1] => (item={'dest': '/etc/ejabberd/ejabberd-xs.cfg', 'src': 'ejabberd-xs.cfg.j2', 'mode': '0644'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/ejabberd/ejabberdctl.cfg', 'src': 'ejabberdctl.cfg.j2', 'mode': '0644'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/ejabberd-xs', 'src': 'ejabberd-xs', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/init.d/ejabberd-xs', 'src': 'ejabberd-xs.init', 'mode': '0755'})<br>
ok: [127.0.0.1] => (item={'dest': '/usr/libexec/ejabberd-xs', 'src': 'ejabberd-xs.init', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/ejabberd-xs.service', 'src': 'ejabberd-xs.service.j2', 'mode': '0755'})<br>
changed: [127.0.0.1] => (item={'dest': '/usr/bin/xs-ejabberd-srg', 'src': 'xs-ejabberd-srg', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/sudoers.d/10-ejabberdmoodle', 'src': '10-ejabberdmoodle', 'mode': '0440'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/tmpfiles.d/ejabberd.conf', 'src': 'ejabberd.tmpfiles', 'mode': '0640'})<br><br>TASK: [Set domain name] ******************************************************* <br>
changed: [127.0.0.1]<br><br>TASK: [Enable ejabberd service] *********************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Start ejabberd service] ************************************************ <br>changed: [127.0.0.1]<br>
<br>TASK: [Wait for ejabberd service start] *************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create online group] *************************************************** <br>changed: [127.0.0.1]<br><br>
TASK: [Add all users to online group] ***************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Install httpd required packages] *************************************** <br>ok: [127.0.0.1] => (item=httpd,php)<br>
<br>TASK: [Create sugar-stats directory tree] ************************************* <br>ok: [127.0.0.1] => (item={'dest': '/etc/httpd/conf.d/proxy_ajp.conf', 'src': 'proxy_ajp.conf.j2', 'mode': '0644'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/httpd/conf/httpd-xs.conf', 'src': 'httpd-xs.conf.j2', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/php.ini', 'src': 'php.ini.j2', 'mode': '0644'})<br>
ok: [127.0.0.1] => (item={'dest': '/usr/bin/xs-httpcache', 'src': 'xs-httpcache.j2', 'mode': '0755'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/httpd/conf.d/xs-2.4.conf', 'src': 'xs-2.4.conf.j2', 'mode': '0644'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/sudoers.d/xs-http', 'src': 'xs-http', 'mode': '0640'})<br><br>TASK: [Configure the server-name (necessary to make URL-redirections work)] *** <br>
changed: [127.0.0.1]<br><br>TASK: [Create http pid dir] *************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create httpd log dir] ************************************************** <br>ok: [127.0.0.1]<br>
<br>TASK: [Create admin group] **************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Add apache user to admin group] **************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Enable httpd] ********************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Install postgresql packages] ******************************************* <br>ok: [127.0.0.1] => (item=postgresql,postgresql-server)<br><br>TASK: [Create postgresql-xs systemd service] ********************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Create postgres data directory] **************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create initial postgres db] ******************************************** <br>skipping: [127.0.0.1]<br>
<br>TASK: [Configure postgres (512mb)] ******************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Configure postgres (1024mb)] ******************************************* <br>skipping: [127.0.0.1]<br><br>
TASK: [Configure postgres (2048mb)] ******************************************* <br>skipping: [127.0.0.1]<br><br>TASK: [Enable postgresql service] ********************************************* <br>ok: [127.0.0.1]<br><br>TASK: [Install moodle required packages] ************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Configure moodle] ****************************************************** <br>ok: [127.0.0.1] => (item={'dest': '/etc/httpd/conf.d/010-make-moodle-default.conf', 'src': '010-make-moodle-default.conf.j2', 'mode': '0655'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/moodle-xs.service', 'src': 'moodle-xs.service.j2', 'mode': '0655'})<br>changed: [127.0.0.1] => (item={'dest': '/usr/libexec/moodle-xs-init', 'src': 'moodle-xs-init', 'mode': '0755'})<br>
<br>TASK: [Execute moodle startup script] ***************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Restart https] ********************************************************* <br>changed: [127.0.0.1]<br>
<br>TASK: [Enable moodle service] ************************************************* <br>changed: [127.0.0.1]<br><br>TASK: [add moodle to service list] ******************************************** <br>ok: [127.0.0.1] => (item={'option': 'name', 'value': 'Moodle'})<br>
ok: [127.0.0.1] => (item={'option': 'description', 'value': 'Access the Moodle learning management system.'})<br>ok: [127.0.0.1] => (item={'option': 'path', 'value': '/moodle'})<br>
<br>TASK: [Install idmgr packages] ************************************************ <br>ok: [127.0.0.1] => (item=ds-backup-server,idmgr,xinetd,xs-rsync,incron)<br><br>TASK: [Configure idmgr] ******************************************************* <br>
ok: [127.0.0.1] => (item={'dest': '/etc/idmgr.conf', 'src': 'idmgr', 'mode': '0644'})<br>ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/idmgr.service', 'src': 'idmgr.service.j2', 'mode': '0755'})<br>
<br>TASK: [Configure ds-backup] *************************************************** <br>skipping: [127.0.0.1]<br><br>TASK: [Configure idmgr sqlite db] ********************************************* <br>skipping: [127.0.0.1]<br>
<br>TASK: [Configure xs-rsync] **************************************************** <br>skipping: [127.0.0.1]<br><br>TASK: [Copy idmgr init script] ************************************************ <br>skipping: [127.0.0.1]<br>
<br>TASK: [Enable idmgr service] ************************************************** <br>ok: [127.0.0.1] => (item=idmgr)<br>ok: [127.0.0.1] => (item=xinetd)<br><br>TASK: [Enable ejabberd service] *********************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Configure rssh rsync permissions to allow OLPC Backup clients] ********* <br>changed: [127.0.0.1]<br><br>TASK: [Configure rssh sftp permissions for backup restore clients] ************ <br>changed: [127.0.0.1]<br>
<br>TASK: [check pip is installed] ************************************************ <br>ok: [127.0.0.1]<br><br>TASK: [install xs-authserver from pypi] *************************************** <br>ok: [127.0.0.1]<br><br>TASK: [install gunicorn] ****************************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Configure xs-authserver] *********************************************** <br>ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/xs-authserver', 'src': 'xs-authserver.env.j2', 'mode': 420})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/systemd/system/xs-authserver.service', 'src': 'xs-authserver.service.j2', 'mode': 420})<br><br>TASK: [create database folder] ************************************************ <br>
ok: [127.0.0.1]<br><br>TASK: [init database] ********************************************************* <br>failed: [127.0.0.1] => {"changed": true, "cmd": ["xs-authserverctl", "initdb"], "delta": "0:00:01.679030", "end": "2013-10-25 01:33:16.869340", "item": "", "rc": 2, "start": "2013-10-25 01:33:15.190310"}<br>
stdout: WARNING: Database was not initialized<br>...ignoring<br><br>TASK: [Enable xs-authserver service] ****************************************** <br>ok: [127.0.0.1]<br><br>TASK: [add xs-authserver to service list] ************************************* <br>
ok: [127.0.0.1] => (item={'option': 'name', 'value': 'XS-authserver'})<br>ok: [127.0.0.1] => (item={'option': 'description', 'value': 'xs-authserver implements a seamless web authentication service using XO laptop registration capabilities. It is heavily inspired by the Moodle OLPC-XS authentication plugin'})<br>
ok: [127.0.0.1] => (item={'option': 'port', 'value': 5000})<br>ok: [127.0.0.1] => (item={'option': 'path', 'value': '/'})<br><br>TASK: [Install squid packages] ************************************************ <br>
ok: [127.0.0.1] => (item=squid,cadaver,dansguardian)<br><br>TASK: [Copy init script and config file] ************************************** <br>ok: [127.0.0.1] => (item={'dest': '/etc/sysconfig/squid', 'src': 'squid.sysconfig', 'group': 'root', 'mode': '0755', 'owner': 'root'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/squid/squid-xs.conf', 'src': 'squid-xs.conf.j2', 'group': 'squid', 'mode': '0644', 'owner': 'squid'})<br>
ok: [127.0.0.1] => (item={'dest': '/etc/dansguardian/dansguardian.conf', 'src': 'dansguardian.conf.j2', 'group': 'dansguardian', 'mode': '0640', 'owner': 'dansguardian'})<br>
<br>TASK: [Create squid cache directory] ****************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create squid log directory] ******************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create dansguardian log directory] ************************************* <br>
ok: [127.0.0.1]<br><br>TASK: [Stop Squid] ************************************************************ <br>changed: [127.0.0.1]<br><br>TASK: [Enable dansguardian] *************************************************** <br>skipping: [127.0.0.1]<br>
<br>TASK: [Disable dansguardian] ************************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Create xs_httpcache flag] ********************************************** <br>skipping: [127.0.0.1]<br><br>
TASK: [Start squid service] *************************************************** <br>changed: [127.0.0.1]<br><br>TASK: [Install sugar-stats required packages] ********************************* <br>ok: [127.0.0.1] => (item=sugar-stats-server,active-document,restful-document,python-xappy)<br>
<br>TASK: [Create sugar-stats directory tree] ************************************* <br>ok: [127.0.0.1] => (item=/library/sugar-stats/)<br>ok: [127.0.0.1] => (item=/library/sugar-stats/rrd)<br>ok: [127.0.0.1] => (item=/library/sugar-stats/users)<br>
<br>TASK: [Copy sugar-stats config file] ****************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Enable sugar-stats service] ******************************************** <br>ok: [127.0.0.1]<br><br>TASK: [Install python-pip package] ******************************************** <br>
ok: [127.0.0.1]<br><br>TASK: [Install statistics-consolidation with pip] ***************************** <br>ok: [127.0.0.1]<br><br>TASK: [Install required libraries] ******************************************** <br>ok: [127.0.0.1] => (item={'pkg': 'rrdtool-python'})<br>
ok: [127.0.0.1] => (item={'pkg': 'python-sqlalchemy'})<br>ok: [127.0.0.1] => (item={'pkg': 'python-psycopg2'})<br><br>TASK: [Enable postgresl access by md5 method] ********************************* <br>
failed: [127.0.0.1] => {"failed": true, "item": ""}<br>msg: this module requires key=value arguments (['backup=yes', '>', 'dest=/library/pgsql-xs/pg_hba.conf', 'regexp=^host\\s+statsconso', 'line=host statsconso statsconso samehost md5', 'state=present', 'insertafter=^# IPv4 local connections', 'owner=postgres', 'group=postgres'])<br>
<br>FATAL: all hosts have already failed -- aborting<br><br>PLAY RECAP ******************************************************************** <br> to retry, use: --limit @/root/dxs.retry<br><br>127.0.0.1 : ok=112 changed=32 unreachable=0 failed=1 <br>
<br><br><br></div>