diff --git a/locale/rougail_user_data_ansible.pot b/locale/rougail_user_data_ansible.pot index 9771974..c045d32 100644 --- a/locale/rougail_user_data_ansible.pot +++ b/locale/rougail_user_data_ansible.pot @@ -5,7 +5,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2025-02-10 09:16+0100\n" +"POT-Creation-Date: 2025-04-29 23:02+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -15,7 +15,7 @@ msgstr "" "Generated-By: pygettext.py 1.5\n" -#: src/rougail/user_data_ansible/__init__.py:47 +#: src/rougail/user_data_ansible/__init__.py:48 msgid "ansible is not set in step.user_data" msgstr "" diff --git a/src/rougail/user_data_ansible/config.py b/src/rougail/user_data_ansible/config.py index d73b420..797cdb9 100644 --- a/src/rougail/user_data_ansible/config.py +++ b/src/rougail/user_data_ansible/config.py @@ -31,7 +31,7 @@ ansible: disabled: type: jinja jinja: | - {{% if 'ansible' not in step.user_data %}} + {{% if step.user_data is propertyerror or 'ansible' not in step.user_data %}} disabled {{% endif %}} @@ -47,7 +47,7 @@ ansible: disabled: type: jinja jinja: | - {{% if 'ansible' not in step.user_data %}} + {{% if step.user_data is propertyerror or 'ansible' not in step.user_data %}} disabled {{% endif %}} @@ -57,7 +57,7 @@ ansible: disabled: type: jinja jinja: | - {{% if 'ansible' not in step.user_data %}} + {{% if step.user_data is propertyerror or 'ansible' not in step.user_data %}} disabled {{% endif %}}