Giter VIP home page Giter VIP logo

Comments (5)

fideloper avatar fideloper commented on July 4, 2024

Probably! I'll check it out. I did a bunch of these all in one go and probably just missed that ability.

Thanks!

from ansible-ssl-example.

flecno avatar flecno commented on July 4, 2024

I used vaulted vars and a copy task to write the key file in use of content: {{ssl_key}}. This approach looks realy clear in the configuration but I see there is a critical security issue.

If I look into my /var/log/syslog file I see this lines:

Nov 25 21:12:20 hostname ansible-file: Invoked with directory_mode=None force=False remote_src=None path=/etc/ssl/private/mykey.key owner=root group
=ssl-cert serole=None content=-----BEGIN RSA PRIVATE KEY-----XXXKEYCONTENXXXX-----END RSA PRIVATE KEY-----

So ansible logs the property contents on the destination machine. I try to use ssl-encrypted files and save the vault encrypted passphrase in my vars.

from ansible-ssl-example.

flecno avatar flecno commented on July 4, 2024

Oh, ansible 1.8 adds a no_log param: ansible/ansible#2198

from ansible-ssl-example.

fideloper avatar fideloper commented on July 4, 2024

I'll check it out, thanks!
On Thu, Nov 27, 2014 at 13:30 Timo Zingel [email protected] wrote:

Oh, ansible 1.8 adds a no_log param: ansible/ansible#2198
ansible/ansible#2198


Reply to this email directly or view it on GitHub
#1 (comment)
.

from ansible-ssl-example.

fideloper avatar fideloper commented on July 4, 2024

Finally got around to this :D -- Thanks to both of you for your input!

from ansible-ssl-example.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.