From 0b80488b02e9a4c0dc596e1c46f37f53ce2baee5 Mon Sep 17 00:00:00 2001 From: Jesse Pretorius Date: Tue, 17 Apr 2018 20:37:01 +0100 Subject: [PATCH] Do not log passwords This prevents data to be leaked into the callback plugin. Depends-On: https://review.openstack.org/562252 Change-Id: I6be27a5521b9d415d6cd2edd000b47d414ab6267 --- playbooks/ceph-rgw-install.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/playbooks/ceph-rgw-install.yml b/playbooks/ceph-rgw-install.yml index 9100c14e0f..267cb79800 100644 --- a/playbooks/ceph-rgw-install.yml +++ b/playbooks/ceph-rgw-install.yml @@ -35,9 +35,11 @@ until: add_service|success retries: 5 delay: 2 + no_log: True tags: - ceph-rgw-setup - rgw-service-add + - name: Ensure RGW user keystone: command: "ensure_user" @@ -57,9 +59,11 @@ until: add_service|success retries: 5 delay: 10 + no_log: True tags: - ceph-rgw-setup - rgw-service-add + - name: Ensure RGW user to admin role keystone: command: "ensure_user_role" @@ -78,9 +82,11 @@ until: add_admin_role|success retries: 5 delay: 10 + no_log: True tags: - ceph-rgw-setup - rgw-service-add + - name: Ensure swiftoperator role keystone: command: "ensure_role" @@ -95,9 +101,11 @@ until: add_swiftoperator_role|success retries: 5 delay: 10 + no_log: True tags: - ceph-rgw-setup - rgw-service-add + - name: Ensure RGW endpoint keystone: command: "ensure_endpoint" @@ -123,15 +131,19 @@ until: add_service|success retries: 5 delay: 10 + no_log: True tags: - ceph-rgw-setup - rgw-service-add + - include: common-tasks/os-log-dir-setup.yml vars: log_dirs: - src: "/openstack/log/{{ inventory_hostname }}-ceph" dest: "/var/log/ceph" + - include: common-tasks/os-lxc-container-setup.yml + - name: Gather ceph-mon facts action: setup delegate_to: "{{ item }}"