[Server-devel] [XSCE] Install attempt fails from https://github.com/XSCE/xsce master

Miguel González migonzalvar at activitycentral.com
Fri Oct 25 04:01:30 EDT 2013


A syntax error was introduced in the last commit.

https://github.com/XSCE/xsce/pull/12


diff --git a/roles/sugar-stats/tasks/statistics-consolidation.yml
b/roles/sugar-stats/tasks/statistics-consolidation.yml
index 64d7d12..902476d 100644
--- a/roles/sugar-stats/tasks/statistics-consolidation.yml
+++ b/roles/sugar-stats/tasks/statistics-consolidation.yml
@@ -15,14 +15,13 @@

 - name: Enable postgresl access by md5 method
   lineinfile: 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
+              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

 - name: Restart postgresql service
   service: name=postgresql-xs


On Fri, Oct 25, 2013 at 4:15 AM, Anna <aschoolf at gmail.com> wrote:

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


-- 
Miguel González
Activity Central: http://www.activitycentral.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/server-devel/attachments/20131025/7d149f2e/attachment-0001.html>


More information about the Server-devel mailing list