From Fedora Project Wiki

Revision as of 18:57, 25 March 2019 by Cverna (talk | contribs) (Created page with "This is a shorthand list of items we could focus on to improve the shape of our ansible repository. Point of contact: Clément Verna === Why? === Our ansible repository has...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a shorthand list of items we could focus on to improve the shape of our ansible repository.

Point of contact: Clément Verna

Why?

Our ansible repository has accumulated technical debt and it is sometime quite difficult to know what is good and what is not.

What?

There are a few things we could do to improve our ansible repo :

  • run ansible-lint on the repo and go through the issues
  • run a yaml formatter on the repo
  • go through our playbooks and role to see if there anything that is not used anymore
  • seek opportunity to refactor, make more generic some roles.
  • fix failing hosts. We have a small list of hosts from my last master run where they don't complete. Figure out why and fix it.
  • check/diff fixing, We have ansible run a --check --diff job every nigh, and it finds changes. So these are idempotency issues. Either check does something different, real run does something different, or real runs change something then change it back. Ideally it would be nice to do this after a mass update/reboot cycle to also fix all the changes that appear after reboot.

More ?

When?

It would be good to make a sprint cleaning pass. That can be a good thing to do to before or just after moving our repo to be hosted on pagure.io so we can use PR workflow and make it easy for new contributor to help.

Who?

Volonteers ? maybe we can involved community members and run a apprentice day ?