Skip to content
Snippets Groups Projects
Unverified Commit b53f2a08 authored by jh23453's avatar jh23453 Committed by GitHub
Browse files

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.
parent 92522845
No related branches found
No related tags found
No related merge requests found
...@@ -56,12 +56,12 @@ Example playbook to read config options: ...@@ -56,12 +56,12 @@ Example playbook to read config options:
register: result register: result
- name: display default login shell - name: display default login shell
debug: debug:
msg: '{{ result.config.defaultlogin }}' msg: '{{ result.config.defaultshell }}'
- name: ensure defaultloginshell and maxusernamelength are set as required - name: ensure defaultloginshell and maxusernamelength are set as required
ipaconfig: ipaconfig:
ipaadmin_password: password ipaadmin_password: password
defaultlogin: /bin/bash defaultshell: /bin/bash
maxusername: 64 maxusername: 64
``` ```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment