fix: disable config if ansible is not selected

This commit is contained in:
egarette@silique.fr 2025-11-05 21:38:46 +01:00
parent 66206f05cf
commit 3149ba1103
3 changed files with 7 additions and 4 deletions

View file

@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2025-04-29 23:02+0200\n"
"POT-Creation-Date: 2025-10-10 08:05+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View file

@ -13,9 +13,6 @@ license = {file = "LICENSE"}
classifiers = [
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",

View file

@ -69,6 +69,12 @@ ansible:
- first
- last
- none
disabled:
type: jinja
jinja: |
{{% if step.user_data is propertyerror or 'ansible' not in step.user_data %}}
disabled
{{% endif %}}
"""
return {
"name": "ansible",