On Friday, May 19, 2017 at 1:09:43 PM UTC-4, Josh Smift wrote:
>
> We uploaded an IAM cert to AWS, and now need to update the certificate 
> (the contents). On the theory that a lost of this stuff is idempotent, I 
> thought this task, which we used to upload it in the first place, would 
> work to update it as well: 
>

> https://docs.ansible.com/ansible/iam_cert_module.html 
> <https://www.google.com/url?q=https%3A%2F%2Fdocs.ansible.com%2Fansible%2Fiam_cert_module.html&sa=D&sntz=1&usg=AFQjCNGmzD8r_w252AcC5M74JSrS_I-_zg>
>  
> has 'new_path', 
> which says "When present, this will update the path of the cert with the 
> value passed here.", but it doesn't say what this is supposed to be -- a 
> Boolean? a path to the new cert file on disk? Perhaps the same sort of 
> thing as the 'path' option, which says "When creating or updating, specify 
> the desired path of the certificate", but we're not using that, we're 
> using 'cert', which says "The path to the certificate body in PEM encoded 
> format." What's "the path of the certificate", and is it different from 
> "the path to the certificate body"? There's only one example, and it 
> doesn't use either 'path' or 'new_path'. 
>
> Anyone know how this is supposed to work? 


I'm also wondering how this works. The documentation is often confusing 
about what exactly it means.

I'm seeing "already exists and has a different certificate body", which I'm 
guessing is related to the error described here.

--
Todd

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6b38ed24-ecd3-40d1-b52e-fe630f58c835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to