diff options
author | Zuul <zuul@review.opendev.org> | 2020-05-16 15:36:01 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2020-05-16 15:36:01 +0000 |
commit | 70dd710ed723ab0bfb96b6a7901a5a14178ed57b (patch) | |
tree | be7142bf6dc207be62c95250c88ded37c024a276 /doc/source/discussion/components.rst | |
parent | ff1d7fe6d6f73d15e5be8d9c7fa857e02b2e3051 (diff) | |
parent | 518cf7fe5eb82e1c850615f860010acd857be899 (diff) | |
download | zuul-70dd710ed723ab0bfb96b6a7901a5a14178ed57b.tar.gz |
Merge "Enables whitelisting and configuring callbacks"
Diffstat (limited to 'doc/source/discussion/components.rst')
-rw-r--r-- | doc/source/discussion/components.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/source/discussion/components.rst b/doc/source/discussion/components.rst index ba36c89c6..7cf715313 100644 --- a/doc/source/discussion/components.rst +++ b/doc/source/discussion/components.rst @@ -845,6 +845,31 @@ The following sections of ``zuul.conf`` are used by the executor: Value to pass to `git config user.name <https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup>`_. +.. attr:: ansible_callback "<name>" + + To whitelist ansible callback ``<name>``. Any attributes found is this section + will be added to the ``callback_<name>`` section in ansible.cfg. + + An example of what configuring the builtin mail callback would look like. + The configuration in zuul.conf. + + .. code-block:: ini + + [ansible_callback "mail"] + to = user@example.org + sender = zuul@example.org + + Would generate the following in ansible.cfg: + + .. code-block:: ini + + [defaults] + callback_whitelist = mail + + [callback_mail] + to = user@example.org + sender = zuul@example.org + Operation ~~~~~~~~~ |