Current File : //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_ansible.cpython-312.pyc |
�
-�_g? � �, � d dl mZmZ G d� dee� Zy)� )�Plugin�IndependentPluginc �( � e Zd ZdZdZdZdZd� Zd� Zy)�OpenStackAnsiblezOpenStack-Ansible�openstack_ansible)� openstack)�/etc/openstack_deploy/c �* � | j g d�� y)z%Gathering the contents of the report.)r z/etc/openstack-releasez/etc/rpc_deploy/z/etc/rpc-releaseN)�
add_copy_spec)�selfs �F/usr/lib/python3/dist-packages/sos/report/plugins/openstack_ansible.py�setupzOpenStackAnsible.setup s � ����
� � c �D � ddg}d}|D ] }| j ||d� � y)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)�do_path_regex_sub)r �
secrets_files�regexp�secrets_files r
�postproczOpenStackAnsible.postproc s>