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

template type: ansible line in file #217

Closed
jayvdb opened this issue Feb 1, 2019 · 5 comments
Closed

template type: ansible line in file #217

jayvdb opened this issue Feb 1, 2019 · 5 comments

Comments

@jayvdb
Copy link
Member

jayvdb commented Feb 1, 2019

flyte/confp#3 (comment)

The important part of this is having the template (a regex) as a literal in the target entry, reducing need for a tiny file containing the template.

A partial implementation could be template type regex, and it operates on the target file, which may originate from a 'copy' action.

@jayvdb jayvdb added this to the 0.5.0 milestone Feb 1, 2019
@chfw
Copy link
Member

chfw commented Aug 29, 2020

here is the examples: https://docs.ansible.com/ansible/latest/modules/lineinfile_module.html#examples

it meant the template type would accept functional parameters. as of now, template type does not take any extra parameters.

@chfw
Copy link
Member

chfw commented Aug 29, 2020

so it would require some architectural upgrade.

@chfw
Copy link
Member

chfw commented Aug 30, 2020

https://moban.readthedocs.io/en/latest/level-18-user-defined-template-types/README.html

Our architecture can cope such a long parameter list but slightly different protocol.

@chfw
Copy link
Member

chfw commented Sep 4, 2020

@chfw chfw closed this as completed Sep 4, 2020
@chfw
Copy link
Member

chfw commented Sep 5, 2020

Further requests, please submit to moban-ansible project.

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

No branches or pull requests

3 participants