Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provide a commented example config of how to use template_src #182

Open
muelli opened this issue Jan 5, 2017 · 1 comment
Open

provide a commented example config of how to use template_src #182

muelli opened this issue Jan 5, 2017 · 1 comment

Comments

@muelli
Copy link
Contributor

muelli commented Jan 5, 2017

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
@drybjed
Copy link
Member

drybjed commented Jan 9, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants