Skip to content

Instantly share code, notes, and snippets.

View brollypop's full-sized avatar
:octocat:

Luke brollypop

:octocat:
View GitHub Profile
@brollypop
brollypop / DriverParticipationRules.php
Created March 9, 2017 21:05
Validation Problem Example
<?php
declare (strict_types = 1);
namespace Example\Domain;
use Example\Domain\CarInfo;
final class DriverParticipationRules
{
class Foo
{
/**
* @param VO $vo
*/
public function handle(VO $vo)
{
$vo->bar->doSth();
}
}
the command to execute:
echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main" \| sudo tee /etc/apt/sources.list.d/tokumx.list
What i tried:
1)
- name: Add package repository for TokuMX
shell: echo "deb [arch=amd64] http://s3.amazonaws.com/tokumx-debs $(lsb_release -cs) main" \| sudo tee /etc/apt/sources.list.d/tokumx.list
Problem: doesn't execute