From b53f2a08d698102cb7a2f1fe91c98b2314d08146 Mon Sep 17 00:00:00 2001 From: jh23453 <jochen@jochen.org> Date: Wed, 8 Dec 2021 17:20:10 +0100 Subject: [PATCH] Login shell is called defaultshell and not defaultlogin The example didn't work for me with the following error (on freeipa 4.9.8): TASK [display default login shell] ************************************************************************************************** fatal: [freeipa1.example.org]: FAILED! => {"msg": " The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'defaultlogin' Using the correct variable defaultshell works for me. --- README-config.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README-config.md b/README-config.md index 5f05fd9d..86859471 100644 --- a/README-config.md +++ b/README-config.md @@ -56,12 +56,12 @@ Example playbook to read config options: register: result - name: display default login shell debug: - msg: '{{ result.config.defaultlogin }}' + msg: '{{ result.config.defaultshell }}' - name: ensure defaultloginshell and maxusernamelength are set as required ipaconfig: ipaadmin_password: password - defaultlogin: /bin/bash + defaultshell: /bin/bash maxusername: 64 ``` -- GitLab