source: MondoRescue/branches/3.3/ansible/roles/docker/tasks/main.yml @ 3674

Last change on this file since 3674 was 3674, checked in by Bruno Cornec, 3 years ago

use started keyword

File size: 354 bytes
Line 
1---
2
3- name: Check mandatory packages installed
4  urpmi: name={{ item.pkg }} state=installed update_cache=yes no-recommends=yes
5  with_items:
6    - { pkg: docker }
7
8- name: Check that docker is running and enabled
9  service: name=docker state=started enabled=yes
10
11- name: Adapt group participation for docker
12  user: name=bruno groups=docker append=yes
Note: See TracBrowser for help on using the repository browser.