Hey so I have a list of developer names in a dictionary and I am trying to do a file lookup on their ssh key,
I want to dynamically build the file path for each key as opposed to specifying it the full path for each developer.
Here is my task:
`
Hey so I have a list of developer names in a dictionary and I am trying to do a file lookup on their ssh key,
I want to dynamically build the file path for each key as opposed to specifying it the full path for each developer.
Here is my task:
`
moustaches don't stack and concatenation (+) does not work outside moustaches:
authorized_key: user=root key="{{ lookup('file', role_path +
'/files/public_keys/' + item.1) }}"
Ha, awesome. Thanks a lot Brian, you are the man…