a Ö>ïh?ã@s&ddlmZmZGdd„deeƒZdS)é)ÚPluginÚIndependentPluginc@s,eZdZdZdZdZdZdd„Zdd„Zd S) ÚOpenStackAnsiblezOpenStack-AnsibleZopenstack_ansible)Z openstack)ú/etc/openstack_deploy/cCs| gd¢¡dS)z%Gathering the contents of the report.)rz/etc/openstack-releasez/etc/rpc_deploy/z/etc/rpc-releaseN)Z add_copy_spec)Úself©rúH/usr/lib/python3.9/site-packages/sos/report/plugins/openstack_ansible.pyÚsetupszOpenStackAnsible.setupcCs(ddg}d}|D]}| ||d¡qdS)z4Remove sensitive keys and passwords from YAML files.z&/etc/openstack_deploy/user_secrets.ymlz /etc/rpc_deploy/user_secrets.ymlz^\s*#*([\w_]*:\s*).*z \1*********N)Zdo_path_regex_sub)rZ secrets_filesZregexpZ secrets_filerrrÚpostprocsþýzOpenStackAnsible.postprocN) Ú__name__Ú __module__Ú __qualname__Z short_descZ plugin_nameZprofilesÚfilesr r rrrrrs  rN)Zsos.report.pluginsrrrrrrrÚ s