aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/cinder-controller/tasks/cinder_install.yml
blob: bd4a46047c5945068f03662a1a386d3f411a75d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---
- name: install cinder packages
  action: "{{ ansible_pkg_mgr }} name={{ item }} state=present force=yes"
  with_items: packages

- name: generate cinder service list
  shell: echo {{ item }} >> /opt/service
  with_items: services

- name: upload cinder conf
  template: src=cinder.conf dest=/etc/cinder/cinder.conf
  notify:
    - restart cinder-scheduler
    - restart cinder-api