Hi,

One way of doing it would be to use ansible in 'pull' mode in one of the
boot scripts (like rc.local).

kind regards
Pshem


On Sun, 27 Jan 2019 at 03:00, Sergio Fernández <[email protected]>
wrote:

> Hi there!
>
> I would like to know the best way to perform this:
>
> I will be using the Vault (from Hashicorp) to store API keys for my app,
> so I will be storing the Vault Token in my Raspberry Pi, inside a tmpfs
> mount, so every time the Raspberry Pi halts, the API token must be renewed
> somehow.
>
> I would like to know how to make this Pi send a signal to Ansible whenever
> it boots up, in order for Ansible to run a Playbook. This Playbook will
> assign another Vault Token to this recently-booted up Pi.
>
> I don't want Ansible to be checking every minute to the Pi. It's not
> efficient, and I don't want to be messing around.
>
> Thank you very much!
>
> --
> 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/a26c134f-ffa3-4056-81db-3b405c70a565%40googlegroups.com
> <https://groups.google.com/d/msgid/ansible-project/a26c134f-ffa3-4056-81db-3b405c70a565%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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/CAEaZiRXyXEvRa1FjwoeLkMfGR2GmzRW7AFqwU8%2Bk%2B3J%2Bg8kaCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to