Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tang liyu
ceph-ansible
Commits
d18a9860
Commit
d18a9860
authored
May 20, 2021
by
Neelaksh Singh
Committed by
Guillaume Abrioux
Jun 08, 2021
Browse files
Sensitive key data now hidden in output log
Fixes: #6529 Signed-off-by:
Neelaksh Singh
<
neelaksh48@gmail.com
>
parent
d4dfa204
Changes
13
Hide whitespace changes
Inline
Side-by-side
roles/ceph-client/tasks/create_users_keys.yml
View file @
d18a9860
...
...
@@ -28,6 +28,7 @@
-
cephx | bool
-
keys | length >
0
-
inventory_hostname == groups.get('_filtered_clients') | first
no_log
:
true
-
name
:
slurp client cephx key(s)
slurp
:
...
...
@@ -39,6 +40,7 @@
-
cephx | bool
-
keys | length >
0
-
inventory_hostname == groups.get('_filtered_clients') | first
no_log
:
true
-
name
:
pool related tasks
when
:
...
...
@@ -79,3 +81,5 @@
group
:
"
{{
ceph_uid
}}"
with_items
:
"
{{
hostvars[groups['_filtered_clients'][0]]['slurp_client_keys']['results']
}}"
when
:
not item.get('skipped', False)
no_log
:
true
roles/ceph-client/tasks/pre_requisite.yml
View file @
d18a9860
...
...
@@ -21,6 +21,7 @@
owner
:
"
{{
ceph_uid
if
containerized_deployment
|
bool
else
'ceph'
}}"
group
:
"
{{
ceph_uid
if
containerized_deployment
|
bool
else
'ceph'
}}"
mode
:
"
{{
ceph_keyring_permissions
}}"
no_log
:
true
when
:
-
cephx | bool
-
copy_admin_key | bool
roles/ceph-crash/tasks/main.yml
View file @
d18a9860
...
...
@@ -40,6 +40,7 @@
owner
:
"
{{
ceph_uid
if
containerized_deployment
|
bool
else
'ceph'
}}"
group
:
"
{{
ceph_uid
if
containerized_deployment
|
bool
else
'ceph'
}}"
mode
:
"
{{
ceph_keyring_permissions
}}"
no_log
:
true
-
name
:
start ceph-crash daemon
when
:
containerized_deployment | bool
...
...
roles/ceph-iscsi-gw/tasks/common.yml
View file @
d18a9860
...
...
@@ -25,6 +25,7 @@
when
:
-
cephx | bool
-
copy_admin_key | bool
no_log
:
true
-
name
:
add mgr ip address to trusted list with dashboard - ipv4
set_fact
:
...
...
roles/ceph-mds/tasks/common.yml
View file @
d18a9860
...
...
@@ -40,3 +40,5 @@
when
:
-
cephx | bool
-
item.item.copy_key | bool
no_log
:
true
roles/ceph-mgr/tasks/common.yml
View file @
d18a9860
...
...
@@ -81,6 +81,7 @@
-
cephx | bool
-
item is not skipped
-
item.item.copy_key | bool
no_log
:
true
-
name
:
set mgr key permissions
file
:
...
...
roles/ceph-nfs/tasks/main.yml
View file @
d18a9860
...
...
@@ -75,6 +75,7 @@
when
:
-
not item.0.get('skipped', False)
-
item.0.item.name == 'client.' + ceph_nfs_ceph_user or item.0.item.name == rgw_client_name
no_log
:
true
-
name
:
include start_nfs.yml
import_tasks
:
start_nfs.yml
roles/ceph-nfs/tasks/pre_requisite_container.yml
View file @
d18a9860
...
...
@@ -39,6 +39,7 @@
when
:
-
cephx | bool
-
item.item.copy_key | bool
no_log
:
true
when
:
groups.get(mon_group_name, []) | length >
0
-
name
:
dbus related tasks
...
...
@@ -59,4 +60,4 @@
-
name
:
reload dbus configuration
command
:
"
killall
-SIGHUP
dbus-daemon"
when
:
ceph_nfs_dynamic_exports | bool
\ No newline at end of file
when
:
ceph_nfs_dynamic_exports | bool
roles/ceph-nfs/tasks/pre_requisite_non_container.yml
View file @
d18a9860
...
...
@@ -74,6 +74,7 @@
when
:
-
cephx | bool
-
item.item.copy_key | bool
no_log
:
true
-
name
:
nfs object gateway related tasks
when
:
nfs_obj_gw | bool
...
...
roles/ceph-osd/tasks/common.yml
View file @
d18a9860
...
...
@@ -42,3 +42,5 @@
-
cephx | bool
-
item is not skipped
-
item.item.copy_key | bool
no_log
:
true
roles/ceph-osd/tasks/openstack_config.yml
View file @
d18a9860
...
...
@@ -60,6 +60,7 @@
-
"
{{
_osp_keys.results
}}"
-
"
{{
groups[mon_group_name]
}}"
delegate_to
:
"
{{
item.1
}}"
no_log
:
true
when
:
-
cephx | bool
-
openstack_config | bool
roles/ceph-rbd-mirror/tasks/common.yml
View file @
d18a9860
...
...
@@ -29,6 +29,7 @@
when
:
-
cephx | bool
-
item.item.copy_key | bool
no_log
:
true
-
name
:
create rbd-mirror keyring
ceph_key
:
...
...
roles/ceph-rgw/tasks/common.yml
View file @
d18a9860
...
...
@@ -39,6 +39,7 @@
-
cephx | bool
-
item is not skipped
-
item.item.copy_key | bool
no_log
:
true
-
name
:
copy SSL certificate & key data to certificate path
copy
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment