debops-tools icon indicating copy to clipboard operation
debops-tools copied to clipboard

provide a commented example config of how to use template_src

Open muelli opened this issue 9 years ago • 1 comments

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

muelli avatar Jan 05 '17 14:01 muelli

Good idea. The paths to tasks and files could be added and commented out as well.

drybjed avatar Jan 09 '17 11:01 drybjed