Merge pull request #1809 from ceph/no-sudo-fetch-dir

ceph-config: when using local_action set become: false
pull/1810/head
Sébastien Han 2017-08-24 18:43:51 +02:00 committed by GitHub
commit 59dbf775c6
1 changed files with 3 additions and 0 deletions

View File

@ -14,14 +14,17 @@
- name: template ceph_conf_overrides
local_action: copy content="{{ ceph_conf_overrides }}" dest="{{ fetch_directory }}/ceph_conf_overrides_temp"
become: false
run_once: true
- name: get rendered ceph_conf_overrides
local_action: set_fact ceph_conf_overrides_rendered="{{ lookup('template', '{{ fetch_directory }}/ceph_conf_overrides_temp') | from_yaml }}"
become: false
run_once: true
- name: remove tmp template file for ceph_conf_overrides
local_action: file path="{{ fetch_directory }}/ceph_conf_overrides_temp" state=absent
become: false
run_once: true
- name: "generate ceph configuration file: {{ cluster }}.conf"