Open muelli opened 7 years ago
It seems that the currently generated .debops.cfg does not indicate how to make use of the template_src lookup mechanism. It would make debops more discoverable if it showed how to make use of that functionality.
Currently, the file looks like this:
# -*- conf -*- [paths] ;data-home: /opt/debops [ansible defaults] display_skipped_hosts = False retry_files_enabled = False ;callback_plugins = /my/plugins/callback ;roles_path = /my/roles [ansible paramiko] ;record_host_keys=True [ansible ssh_connection] ;ssh_args = -o ControlMaster=auto -o ControlPersist=60s
it's probably necessary to make it smth like
# -*- conf -*- [paths] ;data-home: /opt/debops ;templates-paths: ansible/templates [ansible defaults] display_skipped_hosts = False retry_files_enabled = False ;callback_plugins = /my/plugins/callback ;roles_path = /my/roles [ansible paramiko] ;record_host_keys=True [ansible ssh_connection] ;ssh_args = -o ControlMaster=auto -o ControlPersist=60s
Good idea. The paths to tasks and files could be added and commented out as well.
It seems that the currently generated .debops.cfg does not indicate how to make use of the template_src lookup mechanism. It would make debops more discoverable if it showed how to make use of that functionality.
Currently, the file looks like this:
it's probably necessary to make it smth like