initial, not yet complete, work on mesos task, based on ones from AnsibleShipYard