Last active
July 30, 2018 07:08
-
-
Save tomwwright/e39a47f006e7aff95d83b9c3a7868b33 to your computer and use it in GitHub Desktop.
ansibled : logentries : docker compose env example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: add each Logentries token to Docker Compose .env settings | |
lineinfile: | |
dest: "{{ docker_compose_directory }}/.env" | |
regexp: "^LOGENTRIES_{{ item.key | upper }}=.*" | |
line: "LOGENTRIES_{{ item.key | upper }}={{ item.value }}" | |
create: yes | |
with_dict : "{{ logentries_log_tokens }}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment