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

Rewrite to implement Ansible roles fititnt.syntactic_sugar & fititnt.faker #1

Open
fititnt opened this issue Jan 9, 2020 · 1 comment

Comments

@fititnt
Copy link
Owner

fititnt commented Jan 9, 2020


The current demo version only implements AP-ALB and a few other "infra" modules. Even if add other roles that are more related to infrastructure (like a Galera Cluster for MariaDB/MySQL, maybe GlusterFS as reference to shared storage) this repository would still lack to have some way to implement examples to test.

While AP-ALB itself allows document and implement routing for apps, it neither

  1. allow create things like folders, system users, installation of custom PHP-FPM worker
    • For this, fititnt.syntactic_sugar may be an option
  2. allow create fake data to simulate real apps
    • For this, fititnt.faker may be an option

This issue here on ansible-linux-ha-cluster may take some time because I need to do some work before on other projects. Maybe at least a few more weeks since I'm doing some non-public work. But breaking in separate reusable roles the way to implement what AP-ALB don't do seems much useful both medium to long run.

The while the fititnt.syntactic_sugar may be too opinionated for ansible veterans, the type of feature of fititnt.faker may be extremely useful for who test in large scale.

@fititnt
Copy link
Owner Author

fititnt commented Jan 9, 2020

Note (not only to self, but for anyone on future reading this and asking some redundancy): Both fititnt.faker and fititnt.syntactic_sugar have some APIs that are the same (for example a2s_users vs faker_users) but this is both one way to avoid the role fititnt.faker depend on other role and allow end users be very sure about what variables where used only for create fake/testing content and what would be used in production

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

No branches or pull requests

1 participant