Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Template SERVER IP in all occurrences #56

Open
3 tasks
Shayan-Ghani opened this issue Sep 4, 2024 · 0 comments
Open
3 tasks

Template SERVER IP in all occurrences #56

Shayan-Ghani opened this issue Sep 4, 2024 · 0 comments
Labels
ansible ansible-related issues documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers

Comments

@Shayan-Ghani
Copy link
Member

Shayan-Ghani commented Sep 4, 2024

the server ip is manually set to 192.168.1.15. it's used in vagrant, vault, ansible, boundary , etc.

  • create a task in prepare_env role delegated_to controller host (currently localhost), to template it in variable. and generate all the file that this occurs at using ansible template.

  • get the value from STACK_SERVER_IP environment variable. Then use Lookup plugin to get the value with ansible.

  • update the documentation with the new environment variable

@Shayan-Ghani Shayan-Ghani added documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers ansible ansible-related issues labels Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ansible ansible-related issues documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant