??????????????
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 173
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 174
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 175
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 176
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 177
Warning: Cannot modify header information - headers already sent by (output started at /home/mybf1/public_html/mentol.bf1.my/SS1.php:4) in /home/mybf1/public_html/mentol.bf1.my/SS1.php on line 178
ó
àUdac @` sÖ d d l m Z m Z m Z e Z d Z d d l Z d d l m Z d d l m
Z
d d l Z d d l Z y d d l
Z
e Z Wn e k
r› e Z n Xd d l m Z d d l m Z d e f d „ ƒ YZ d S(
i ( t absolute_importt divisiont print_functions“
callback: foreman
type: notification
short_description: Sends events to Foreman
description:
- This callback will report facts and task events to Foreman https://theforeman.org/
- Before 2.4, if you wanted to use an ini configuration, the file must be placed in the same directory as this plugin and named foreman.ini
- In 2.4 and above you can just put it in the main Ansible configuration file.
version_added: "2.2"
requirements:
- whitelisting in configuration
- requests (python library)
options:
url:
description: URL to the Foreman server
env:
- name: FOREMAN_URL
required: True
default: http://localhost:3000
ini:
- section: callback_foreman
key: url
client_cert:
description: X509 certificate to authenticate to Foreman if https is used
env:
- name: FOREMAN_SSL_CERT
default: /etc/foreman/client_cert.pem
ini:
- section: callback_foreman
key: ssl_cert
- section: callback_foreman
key: client_cert
aliases: [ ssl_cert ]
client_key:
description: the corresponding private key
env:
- name: FOREMAN_SSL_KEY
default: /etc/foreman/client_key.pem
ini:
- section: callback_foreman
key: ssl_key
- section: callback_foreman
key: client_key
aliases: [ ssl_key ]
verify_certs:
description:
- Toggle to decide whether to verify the Foreman certificate.
- It can be set to '1' to verify SSL certificates using the installed CAs or to a path pointing to a CA bundle.
- Set to '0' to disable certificate checking.
env:
- name: FOREMAN_SSL_VERIFY
default: 1
ini:
- section: callback_foreman
key: verify_certs
N( t datetime( t defaultdict( t to_text( t CallbackBaset CallbackModulec B` sÄ e Z d Z d Z d Z e Z i d d 6d d 6Z d Z d „ Z d d d d „ Z d „ Z d
„ Z
d „ Z d „ Z d
„ Z d „ Z e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( g @t notificationt foremans application/jsons Content-Typet Accepts %Y-%m-%d %H:%M:%S %fc C` s; t t | ƒ j ƒ t t ƒ | _ t t j ƒ ƒ | _ d S( N( t superR t __init__R t listt itemst intt timet
start_time( t self( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyR _ s c C` sN t t | ƒ j d | d | d | ƒ | j d ƒ | _ | j d ƒ | j d ƒ f | _ t | j d ƒ ƒ | _ | j ƒ | _ t
rÀ t t j
j d ƒ d ƒ } | d
k rÍ | j d ƒ qÍ n
| j d ƒ | j j d
ƒ rJt j j | j d ƒ s| j d | j d ƒ n t j j | j d ƒ sJ| j d | j d ƒ qJn d S( Nt task_keyst var_optionst directt urlt client_certt
client_keyt verify_certst .i i s( The `requests` python module is too old.s. The `requests` python module is not installed.s https://s FOREMAN_SSL_CERT %s not found.i s FOREMAN_SSL_KEY %s not found.( R R t set_optionst
get_optiont FOREMAN_URLt FOREMAN_SSL_CERTt strt FOREMAN_SSL_VERIFYt _ssl_verifyt
ssl_verifyt HAS_REQUESTSR t requestst __version__t splitt _disable_plugint
startswitht ost patht exists( R R R R t requests_major( ( sD /usr/lib/python2.7/site-packages/ansible/plugins/callback/foreman.pyR d s %!
c C` s: t | _ | r&