Comments (9)
typo in second "lenth" instead "length". Should be:
(ipaadmin_password is undefined or ipaadmin_password|length == 0)
and (ipaclient_keytab is undefined or ipaclient_keytab|length == 0)
This is fix for error
TASK [ipaclient : Install - Check if one of password and keytab are set] **************************************************************
fatal: [node2.ipaexample.com]: FAILED! => {"msg": "The conditional check 'not result_ipaclient_test_keytab.krb5_keytab_ok and (ipaadmin
_password is undefined or ipaadmin_password|length == 0) and (ipaclient_keytab is undefined or ipaclient_keytab|lenth == 0)' failed. Th
e error was: template error while templating string: no filter named 'lenth'. String: {% if not result_ipaclient_test_keytab.krb5_keyta
b_ok and (ipaadmin_password is undefined or ipaadmin_password|length == 0) and (ipaclient_keytab is undefined or ipaclient_keytab|lenth
== 0) %} True {% else %} False {% endif %}\n\nThe error appears to have been in '/root/vagrant/freeipa-ansible/roles/vendor/ansible-fr
eeipa/roles/ipaclient/tasks/install.yml': line 159, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.
n\nThe offending line appears to be:\n\n\n - name: Install - Check if one of password and keytab are set\n ^ here\n"}
from ansible-freeipa.
ansible galaxy is complaining on empty string tests. This is the reason why I have replaced them.
from ansible-freeipa.
Are you using an encrypted password?
from ansible-freeipa.
yes, I use inline encrypted vault entries
from ansible-freeipa.
I guess a check for testing if it is an encrypted string before testing for zero length would do the trick
from ansible-freeipa.
Your post doesn't make sense.
Is this a copy paste typo ?
from ansible-freeipa.
Typo still exists:
(ipaclient_keytab is undefined or ipaclient_keytab|lenth == 0)
The error appears to be in '/home/vagrant/.ansible/roles/freeipa.ipaclient/tasks/install.yml': line 159, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- name: Install - Check if one of password and keytab are set
^ here
This seems like it's an older version that's in galaxy also:
ansible-galaxy list
# /home/vagrant/.ansible/roles
- freeipa.ipaclient, v0.1.1
Any resolution coming?
from ansible-freeipa.
This works again with the latest git version.
from ansible-freeipa.
this was already fixed in git, and is also working in 1.5.0
from ansible-freeipa.
Related Issues (20)
- [RFE] Support for monitoring certificates HOT 1
- msg: cannot import name 'kinit_password' from 'ipapython.ipautil HOT 7
- ipaclient: Configure DNS resolver always reports as changed HOT 1
- batch command support HOT 2
- [Install - Setup CA] Error
- ipareplica - the variable ipareplica_auto_forwarders=yes does not work
- ipareplica: Does not pass ipareplica_ip_addresses to client
- ipaserver: FreeIPA >= 4.12.0 fails to install HOT 5
- Bug in ipauser.py module related to certmap data HOT 1
- [ipaserver] Role does not handle company-signed LDAPS and HTTPS services
- [ipasmartcard_server] Role does not include configuration of SSLOCSPEnable and SSLProtocol in ssl.conf HOT 1
- [ipasmartcard_client] Role does not include configuration of the PAM SSH agent
- [ipasmartcard_client] Role does not enable smart card auth in cockpit configuration
- Key length - how to change HOT 3
- ipapermission gives invalid changed status in check mode and fails in execute mode
- FreeIPA server in docker container unable to use ipauser module HOT 2
- [ipaclient][ipareplica] Include open port checks
- ipaclient install role hostname returned does not match external DNS. CLI install with --hostname option works fine. HOT 2
- [role/ipaclient] Bug for ipaclient_servers in roles/ipaclient/tasks/install.yml
- [role/ipasmartcard_client] Password leaking in cleartext
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-freeipa.