milad.ansible_role_create_dot_env_file
ansible-role-create-dot-env-file
Creates a .env file from a template and saves it in the right folder.
Requirements
This role needs a file named dot_env.j2
in the template folder. You can change the name of this template as explained in the role variables section below.
Role Variables
See the file defaults/main.yml for more information.
Dependencies
None
Example Playbook
Here’s an example showing how to use the role (including how to pass in variables):
- hosts: servers
roles:
- { role: username.rolename, x: 42 }
License
MIT
Author Information
Milad Kawas. @miladkawas
Installa
ansible-galaxy install milad.ansible_role_create_dot_env_file
Licenza
Unknown
Download
84
Proprietario
Software developer.
I'm on Gitlab too. https://gitlab.com/MiladK