|
Server : LiteSpeed System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64 User : elvh3918 ( 1528) PHP Version : 8.2.31 Disable Function : mail Directory : /usr/lib/python3.9/site-packages/ansible/plugins/action/__pycache__/ |
a
�)g � @ sh d dl mZmZmZ eZd dlmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ G dd� de�Zd S )
� )�absolute_import�division�print_function)�AnsibleError)�Conditional)�
ActionBase)�string_types)�booleanc s. e Zd ZdZdZed�Zd� fdd� Z� ZS )�ActionModulez Fail with custom message F)�fail_msg�msg�quiet�success_msg�thatNc s |d u rt � }tt| ��||�}~d| jjvr6td��d }d }| jj�d| jj�d��}|d u rfd}nDt|t �r�t
dd� |D ��s�td��nt|tt f�s�td t|� ��| jj�d
�}|d u r�d}nFt|t �r�t
dd� |D ��s�td
��n t|tt f��stdt|� ��t
| jj�dd�dd�}z| jjd }W n t�yT | jjd }Y n0 t|t��rn| j�|�}t|t ��s�|g}t| jd�}|�s�d|d<