Hi all,
I have a question regarding this module and creating encrypted image.
I have the latest version of Ansible tower,asnible, boto. On centos 7, all installed from repositories. (i even tested it with ansible 2.2 release candidate, as it says that version 2.2 is needed), but it wont work with it either.
If i remove the encrypted and kms_key_id, module works. but it wont work with these two parameters.
And copying encrypted image just wont work. I get the message:
“msg”: “UnknownParameter: The parameter Encrypted is not recognized”
Can anyone provide some assistance what is it that is wrong?
Thanks,
Uros
Hi,
-
Just checking, are you using “encrypted” (lowercase)
-
Can you please provide the output of:
ansible-playbook --version
-
Can you please copy & paste just the failing task from your playbook (remembering to remove any sensitive data)
FYI the code to add int encrypted and kms_key_id was added at the end of May by https://github.com/ansible/ansible-modules-extras/commit/0ba34435cf6896a6bcf1039cb04fde0d426fad4e#diff-f3b7742028fc91b33de9fee0daabc496
Thanks,
John Barker
Hi John,
Thank you for reply.
-
yes, it is all lower case, you will see in the playbook itself.
-
ansible-playbook --version
ansible-playbook 2.2.0.0
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides
This is installed on separate server for testing purposes. But this happened with every release i tried, even with the 3.0, from git, and with latest stable from repository.
- This is the playbook:
Hi John,
Do you maybe know something more based on the answers below?