generate_make_tasks – Generate per Makefile target a dedicated task file

Synopsis

Generate per Makefile target a dedicated task file

Parameters

install_yamls_path (True, str, None)

Absolute path to install_yamls repository.

output_directory (True, str, None)

Absolute path to the output directory. It must exists.

Examples

- name: Create output directory
  ansible.builtin.file:
    path: "{{ ansible_user_dir }}/make_installyamls/tasks"
    state: directory

- name: Generate make tasks
  generate_make_tasks:
    install_yamls_path: "{{ ansible_user_dir }}/src/github.com/openstack-k8s-operators/install_yamls/"
    output_directory: "{{ ansible_user_dir }}/make_installyamls/tasks"

Return Values

success (always, bool, True)

Status of the module

Status

Authors

  • Chandan Kumar (@raukadah)

  • Cedric Jeanneret (@cjeanner)