Skip to content

Conversation

@TheAdamGalloway
Copy link
Contributor

@zarino Is this the best way of doing provisioning for Cafe Laziz and Vegi given that they're both very similar? Is the best practice to just move the unique config out into the playbook and then share the tasks?

@zarino
Copy link
Contributor

zarino commented Apr 22, 2022

As I understand it, the idiomatic way to do this in Ansible would be to set up a "role" of something like "peepl-eat-web-host" that Café Laziz and Vegi would both then use, with any differences between the two being controlled via variables in the hosts file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants