2016-02-13 04:37:06 +08:00
|
|
|
---
|
|
|
|
- name: install dependencies
|
2016-02-13 04:54:56 +08:00
|
|
|
# XXX Determine what RH repository this will belong to so that it can be
|
|
|
|
# properly checked and errored if the repository is not enabled.
|
2016-11-28 22:16:56 +08:00
|
|
|
package:
|
2016-02-13 04:37:06 +08:00
|
|
|
name: rhscon-agent
|
|
|
|
state: present
|
2018-12-19 21:55:01 +08:00
|
|
|
register: result
|
|
|
|
until: result is succeeded
|
2016-02-13 04:37:06 +08:00
|
|
|
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
|