HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux ip-10-0-8-47 6.8.0-1021-aws #23~22.04.1-Ubuntu SMP Tue Dec 10 16:31:58 UTC 2024 aarch64
User: ubuntu (1000)
PHP: 8.1.2-1ubuntu2.22
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/sos/report/plugins/__pycache__/openstack_ansible.cpython-310.pyc
o

���bC�@s&ddlmZmZGdd�dee�ZdS)�)�Plugin�IndependentPluginc@s,eZdZdZdZdZdZdd�Zdd�Zd	S)
�OpenStackAnsiblezOpenStack-Ansible�openstack_ansible)�	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)�
add_copy_spec)�self�r
�F/usr/lib/python3/dist-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(?m)^\s*#*([\w_]*:\s*).*z\1*********N)�do_path_regex_sub)r	�
secrets_files�regexp�secrets_filer
r
r�postprocs���zOpenStackAnsible.postprocN)	�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�filesrrr
r
r
rrs	rN)�sos.report.pluginsrrrr
r
r
r�<module>s