you are viewing a single comment's thread
view the rest of the comments
[–] 53 points 2 years ago* (9 children)

"Keep it simple" says the project that decided it would be great to program in YAML...

I've tried using it to manage a few home servers and parameterizing anything was painful and boilerplate-ridden

  • source
  • hideshow 9 child comments
  • [–] 13 points 2 years ago (4 children)

    Jist wait until you have to start fucking around with multiple incompatible versions of python for different targets.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 4 points 2 years ago (2 children)

    Because group or host vars are hard?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 2 years ago (1 child)

    No. Because the python version of the host and the target server must loosely match up. Otherwise you get some cryptic error messages in some unexpected modules. Red Hat's solution: just manage RHEL 9 targets from RHEL9 hosts and RHEL8 from RHEL8 hosts. There is no official way to align python versions across that major.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 8 points 2 years ago (2 children)

    Except it isn't actually YAML you're writing, it's a jinja2 string template that parses to YAML because the expressions they came up with ended up not being sufficient.

  • source
  • parent
  • hideshow 2 child comments