Skip to content

[PM-372] Change ansible.builtin.command usage so it works on ansible version 2.9.15

Gustavo Enrique Sanchez requested to merge change_ansible_command into master

Context

Doing

ansible.builtin.command: "lumensctl generate -f"

resulted in and ansible error saying that "command has extra params" on ansible 2.9.15. Changing it to the argv format solved it:

  ansible.builtin.command:
    argv:
      - lumensctl
      - generate
      - "-f"

Merge request reports