Here is a playbook for Ansible to install Docker and Docker Compose on Debian.

You can of course, use a role from Galaxy. You have Gerling’s version or Debops (Ansible stack for Debian).

But here I wanted to implement the install guide from Docker – and translate this into an Ansible playbook (which then should be turn into a custom role for more reusability).

The official guide give use the following install steps:

  1. Update the apt package index
  2. Install packages to allow apt to use a repository over HTTPS
  3. Add Docker’s official GPG key
  4. Add Docker’s official Apt Repository
  5. Then refresh the apt index
  6. Install docker from the package

Yeah, that’s a few steps. But that’s the best way to make sure you always have the last version of docker. Docker is a project that is moving fast and you cannot wait for your favourite distrib to give you the right package, it will always be dirty old version you don’t want. Maybe in some future when things get a bit more stable it will be enough to install it from debian default – but for now that’s really a bad idea.

So, let’s cut the chase here is a the playbook – with comments to make things easy to follow if anything is unclear.

- hosts: all
  - name: Update the apt package index
    become: yes
      name: "*"
      state: latest
      update_cache: yes
      force_apt_get: yes
  - name: Install packages for apt add repository over HTTPS
    become: yes
      name: "{{ packagesdep }}"
      force_apt_get: yes
      state: latest
      update_cache: yes
      - git
      - apt-transport-https
      - ca-certificates
      - wget
      - software-properties-common
      - gnupg2
      - curl
  - name: Add Apt signing key from official docker repo
      state: present
  - name: add docker official repository for Debian Stretch
      repo: deb [arch=amd64] stretch stable
      state: present
  - name: Index new repo into the cache
    become: yes
      name: "*"
      state: latest
      update_cache: yes
      force_apt_get: yes
  - name: actually install docker
      name: "docker-ce"
      state: latest

Now this works pretty fine – but we still need to add docker compose – so we do the same – we follow the official documentation – which surprisingly enough do not provide a package but instruct us to curl something – not even with a “latest” tag… so this will require some maintaining – which is annoying but will do for now.

So the step are simple:

  1. Download the latest version of Docker Compose
  2. Add executable permissions to the binary

For this we use the module get_url from Ansible – which replace the curl and allow us to also define the permissions on the fly.

- name: Ensure docker-compose is installed and available
      url:{{ ansible_system }}-{{ ansible_userspace_architecture }}
      dest: /usr/local/bin/docker-compose
      mode: 'u+x,g+x'

And that’s it.

As you can see we also made use of {{ansible_system}} and {{ ansible_userspace_architecture }} to replace respectively uname -s and uname -m – if you want a full list of Ansible variables available – you can go check the doc here.

That’s it!

For what it’s worth, I have been noticing a raising interest for empathy in the past few years.

It’s been popping everywhere from a variety of fields, either in business and entrepreneurship, human resources and management to more more remote fields like design and product development as well as the obvious therapy and education fields.

Science seems to have discovered a couple of years ago that we are wired for it:

but science isn’t really everything there is to it – I mean look at this article about this lady being a lead researcher on empathy, and she still managed to bullied colleagues and staff.

It seems like it is not enough to know how empathy work to apply it.

And this why it’s interesting because the places where I saw it popped recently were mostly from people who need this in their day-to-day

You see empathy being the first step of a design process taught in Stanford University design class:

IDEO design thinking process

Empathy is at the core of HR prone by Claude Silver.

Empathy is also the tool used to trigger creativity and collaboration,
Practical Empathy: For Collaboration and Creativity in Your Work

You can go to Empathy Bootcamps :

Empathy Bootcamp

to learn how to better your relationships, improve your love life.

It seems like empathy is the secret sauce of successful relationships.

And empathy is something people want to learn

Screen Shot 2018 09 28 at 11 37 14

Funny enough, it is not something that’s easy to absorb, but it could be that storytelling is a way to do it.

I liked the exercise done by Sam Richards during a TED talk to try to create empathy in the audience

Note that the talk itself is not about empathy – but he tries to use empathy to get his point across.

That’s just one example, but I am sure that the need to compensate our lack of natural skills for understanding other can be taught, in some way…

And since mentions of empathy don’t seems to lack, probably something that should be taught.

Praised by designers
Screen Shot 2018 09 28 at 12 26 18

to business people:

Screen Shot 2018 09 28 at 12 26 27

Talked about by consultants as the key to leadership:

And praised as the element fix the problem with online hate :

Something to think about…

docker stop $(docker ps -a -q) #stop all
docker rm $(docker ps -a -q) #remove all


You can make an alias and it to your bash profile :

alias dockerstopall='docker stop $(docker ps -a -q)'
alias dockerrmall='docker rm $(docker ps -a -q)'

I am not bashing school – but I think we need more conversations on this topic.

Here are a couple of videos which I think raise some interesting points to think about.

Don’t Stay in School

A rap video that went viral a few years ago, from

And the follow up video, addressing comments:

What is school for?

A more recent video from Prince EA

Teachers React to original video on school from Prince EA

The Reason Schools Don’t Set Kids Up For Success

This is a vlog type of video but bear with it. It still delivers.

If you like this topic I suggest you go and check :

Rethinking Education – 3 talks to watch

Rethinking education – 3 unconventional approaches

Here is a little research project I did at request to figure out all the gateways, if you want to sell stuff in russian speaking countries – turns out Stripe or Paypal are not exactly going to cover all your needs.

So here is the results of my research on the topic.

Feel free to add in the comments if you have some extra input on the topic.

Yandex Money / Kassa

The first plugin is from Dayes Design :


Yandex Money Payment Gateway for WooCommerce

$20 – available on Code Canyon.
Support team behind seems to be available.

Alternative plugin:


from Verstayem Vse available here for about 1200 Rb

Now for Yandex Kassa  – and if like me, you had no idea what are the differences between  Yandex Money / Yandex Kassa, and you wanna know you can check this article  (in russian).

Yandex Kassa – which seems to be the official plugin and which seems to work ok if you rely on this demo video:



Pretty straight forward, just have a plugin for it :

Wc Webmoney


Now if you liked the previous company for yandex money they have one for WebMoney as well:

You can download it here – it costs 1000 rb.



More geared toward Ukraine, I found this plugin which I haven’t tested – Private24 for less than $20 on – you can buy it here.

Privat woocommerce 600x380

Some alternative free one, which might work but hasn’t been updated in like ages can be downloaded for free here.


Ok for Qiwi, I had some trouble finding anything for woocommerce in english, but you can find it from the Verstayem Vse  here.

Now check the other category, because most places I found refered either to Payssion or to Wallet One.



You can use intermediate company that provide you right of the bat a middle-man like Payssion (

and then, they have a plugin you can use that will give you instant access to a large number of payment options: QIWI, Webmoney, Yandex.Money, Sberbank

Wallet one

Walletone seems like a great solution, with a clear pricing scheme (basically a fee+percentage)

Check it here, and they have a plugin as well, which seems pretty cool.


Payment supporting:
YandexMoney, Webmoney,Qiwi visa Wallet, MasterPass
(check full list here)

If you are in the NGO world and want to collect money for donations you have this interesting and free and maintained plugin Online Leyka


From the plugin description :

Supported payment methods includes bank cards Visa and MasterCard through Cloudpayments, PayPal, Chronopay and RBK Money systems, mobile and SMS payments via MIXPLAT, also WebMoney, ROBOKASSA and Yandex.Money are supported. You can also use a traditional bank payment orders (quittances).


Now – I haven’t install and double check in production any of these yet, but they all seems pretty legit and seems to work.

If you have other suggestion or precisions I am more than open…


On a side note and while we are at it, from personal experience, if you have Stripe set up already (meaning your business / organisation is in an area covered by Stripe) – you will be able – most of the time – to receive payments from customers in russia, but… you will see a higher case of transaction failure – where either the bank or Stripe not letting the transaction happen for seemingly no reason…) but in a pretty good amount of cases – it will work.



Couple of notes :

  • Impact is a the third parameter to be added to the traditional Growth / Value focus
  • Separate end users and funders.
  • Change the funding models to facilitate experimentatino on the early stage
  • Scaling to early also happen to the non-profit – with similar issues are the in the traditional business
  • Separate end users and funders.

1. Anything that is in the world when you’re born is normal and ordinary and is just a natural part of the way the world works.

2. Anything that’s invented between when you’re fifteen and thirty-five is new and exciting and revolutionary and you can probably get a career in it.

3. Anything invented after you’re thirty-five is against the natural order of things.

Why You Don’t Understand “Disruption”
by Bill Barnett

where you learn that Kodak invented Instagram in the 90’s.

What Your Innovation Process Should Look Like
where Steve Blank share some knowledge on innovation processes inside an organisation

Optimize when you can, standardize if you must.

Not 100% on innovation but still important to understand how to approach these two parameters of every technological project

Ok so you want to up your marketing game and you are looking for recommendations where to start.

Here is the first post of a serie where I share with you what I think are the best references and guiding principles in marketing.

This is stuff I have collected, read and applied over the course of more than 10 years and I will probably keep updating it as time pass.

The fact that it took me 10 years to collect and deploy this knowledge doesn’t mean it will take you the same amount of time, but it sure should give you the feel that it is no quick n dirty fix either. So if you are here to get the 5 steps to get rich, you might be a little disappointed.

Markets are conversations.

This understanding – together with an 94 other points described in the Cluetrain Manifesto is the foundation of proper marketing.

Markets are conversations. Conversations who lead to exchanges of opinions, goods and services. Conversations happening in one-to-one face-to-face in person meeting, or happening in conferences, open-doors events, or through telemarketing campaigns, of social-media conversations, blogs, youtube videos.

The more people you include in the conversation, the more exposure you get, so the more chances to sell you get.

The more you also get chances to learn where you went wrong and how you can improve.

Why does it matter?

Because as much as this might sound obvious, a tendency for short term vision fuelled by a lack of patience drive people to ignore the conversation and turn quickly their marketing effort into bad advertising or worse sort of spams, fooling themselves that this is kinda of helping anybody.

This kind of behaviours by the way is what give bad rap to marketing.

That’s also why 90% of people trust recommendations by friends and less than 15% trust ads.

Don’t ask me where I got these numbers I don’t remember, but I am sure you can google that yourself and even without Google, you can agree with me that it makes sense.

Some marketing campaigns are so bad it looks like starting a tinder conversation by asking to send nudes.

So, do me a favour and read the Cluetrain manifesto, you won’t regret it.

If you’re in a hurry, here is a 4 min video is doing a nice job at summarizing the concepts – it contains a few wild approximations, but hey, we can’t be too harsh when you have that short amount of time to information ratio.

In the next posts in this series, I’ll probably cover a few other key principles and then we’ll move to funnel design and more technical aspects of marketing and campaigns.