Signed-off-by: Eduard Egorov <eduard.egorov@icl-services.com>
# Ubuntu 14.04
- name: stop ceph rbd mirror on ubuntu
- command: initctl stop ceph-rbd-mirorr cluster={{ cluster }} id=admin
+ command: initctl stop ceph-rbd-mirror cluster={{ cluster }} id=admin
failed_when: false
when:
ansible_distribution == 'Ubuntu'
when:
ansible_distribution == 'Ubuntu'
- - name: remove Upstart nad SysV files
+ - name: remove Upstart and SysV files
shell: "find /etc -name '*ceph*' -delete"
when:
ansible_distribution == 'Ubuntu'
tasks:
- - name: install docker and dependancies for the docker module
+ - name: install docker and dependencies for the docker module
package:
name: "{{ item }}"
state: present
enabled: no
# NOTE(leseb): should we also create systemd files
- # intead of running raw docker commands?
+ # instead of running raw docker commands?
# It is probably more elegant but will require a template file...
# which would make this single file playbook more complex