| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i� � �8 � d dl mZmZ d dlmZ G d� dee� Zy)� )�Plugin�RedHatPlugin)�sos_parse_versionc �, � e Zd ZdZdZdZdZdZd� Zd� Z y) �AAPControllerPluginz AAP Automation Controller plugin�aap_controller)�sysmgmt�ansible)z automation-controller-venv-towerzautomation-controller-serverzautomation-controller-uizautomation-controller)z
awx-managec � � | j g d�� | j g d�� | j g d�� | j d� }|d dk( rKt |d j � � t d� kD r| j d � n| j d
� | j
g d�� | j
dd
�� y )N)z/etc/tower/z/etc/supervisord.confz/etc/supervisord.d/*z/var/log/towerz//var/log/nginx/automationcontroller.access.log*z./var/log/nginx/automationcontroller.error.log*z/var/log/supervisorz/var/log/unattended-upgrades)z/etc/tower/SECRET_KEYz/etc/tower/*.keyz/etc/tower/*.certz/var/log/tower/profile)z$automation-controller-service statuszawx-manage showmigrationszawx-manage list_instancesz"awx-manage run_dispatcher --statusz)awx-manage run_callback_receiver --statuszawx-manage check_license --datazsupervisorctl statusz$/var/lib/awx/venv/awx/bin/pip freezez'/var/lib/awx/venv/awx/bin/pip freeze -lz(/var/lib/awx/venv/ansible/bin/pip freezez+/var/lib/awx/venv/ansible/bin/pip freeze -lzumask -pzawx-manage --version�statusr �outputz4.4.99zawx-manage run_wsrelay --statusz#awx-manage run_wsbroadcast --status)�/var/lib/awxz/var/lib/awx/venvz
/etc/towerr T)�tree)�
add_copy_spec�add_forbidden_path�add_cmd_output�collect_cmd_outputr �strip�add_dir_listing)�self�awx_versions �C/usr/lib/python3/dist-packages/sos/report/plugins/aap_controller.py�setupzAAPControllerPlugin.setup s� � ����
� �
��� !
� �
���
�
� �-�-�.D�E���x� �A�%�!�+�h�"7�"=�"=�"?�@�!�(�+�,� �#�#�$E�F��#�#�$I�J����
� �
���^�$��7� c �� � d}d}| j d||� d}d}| j d||� d}d}| j d||� d}d}| j d||� d }d}| j d
||� y )Nz(\s*'PASSWORD'\s*:\s*)('.*')z
\1********z/etc/tower/conf.d/postgres.pyz!(EMAIL_HOST_PASSWORD\s*=)\'(.+)\'z/etc/tower/settings.pyz/etc/tower/conf.d/custom.pyz+(BROADCAST_WEBSOCKET_SECRET\s*=\s*)\"(.+)\"z/etc/tower/conf.d/channels.pyz (\s*'SECRET_KEY'\s*:\s*)(\".*\")z/etc/tower/conf.d/gateway.py)�do_path_regex_sub)r �jreg�repls r �postproczAAPControllerPlugin.postprocO s� � �.�������>��d�K� 4�������7��t�D� 4�������<�d�D�I� >�������>��d�K� 3�������=�t�T�Jr N)
�__name__�
__module__�__qualname__�
short_desc�plugin_name�profiles�packages�commandsr r � r r r r s+ � �3�J�"�K�&�H�)�H� �H�28�hKr r N)�sos.report.pluginsr r �
sos.utilitiesr r r( r r �<module>r+ s �� 4� +�WK�&�,� WKr