ceph-ansible/roles/ceph-agent/tasks/pre_requisite.yml

22 lines
522 B
YAML

---
- name: install dependencies
# XXX Determine what RH repository this will belong to so that it can be
# properly checked and errored if the repository is not enabled.
package:
name: rhscon-agent
state: present
register: result
until: result is succeeded
tags:
- package-install
- name: create minion.d directory
file:
path: /etc/salt/minion.d
state: directory
- name: generate agent configuration file
template:
src: ceph_agent.j2
dest: /etc/salt/minion.d/ceph_agent.conf