diff --git a/src/remotes/bakerlets-source/env/env.yml.mustache b/src/remotes/bakerlets-source/env/env.yml.mustache new file mode 100644 index 00000000..a9ce3894 --- /dev/null +++ b/src/remotes/bakerlets-source/env/env.yml.mustache @@ -0,0 +1,14 @@ +--- +- hosts: all + become: yes + + tasks: + {{#env}} + - name: Adding the path in the bashrc files + lineinfile: + dest: /home/{{=<% %>=}}{{ansible_user}}<%={{ }}=%>/.bashrc + line: 'export {{KEY}}={{VALUE}}' + insertafter: 'EOF' + state: present + + {{/env}}