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

Improve packetfence_install__configuration variable #22

Open
nqb opened this issue Mar 20, 2020 · 1 comment
Open

Improve packetfence_install__configuration variable #22

nqb opened this issue Mar 20, 2020 · 1 comment

Comments

@nqb
Copy link
Contributor

nqb commented Mar 20, 2020

It should be possible to override only some parts of this variable in inventory in place of redefining the whole list (like in DebOps roles).

Using combine filter seems possible but I didn't find the correct balance between list and dicts

@nqb
Copy link
Contributor Author

nqb commented Jun 17, 2021

In place of defining all INI files in a YAML format, we could let user use following syntax:

      - name: 'switches.conf'
        template_path: '{{ playbook_dir }}/templates/switches.conf.j2'

with switches.conf.j2 a PacketFence INI files with Ansible templates.

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

1 participant