Skip to content
Snippets Groups Projects
Commit 4b695cb7 authored by Jan Philipp Timme's avatar Jan Philipp Timme
Browse files

Third idea on how to approach dict.keys() properly

parent 082a5483
Branches
No related tags found
No related merge requests found
......@@ -7,7 +7,10 @@ deploy_venv_pkgs:
pkg.installed:
- pkgs: ['python3', 'virtualenv', 'python3-pip']
{% set group_members = list(deploy.projects.keys()) %}
{% set group_members = [] %}
{% for k, v in deploy.projects.keys() %}
{% do group_members.append(k) %}
{% endfor %}
deploy_provision_virtualenv_group_with_members:
group.present:
- name: virtualenv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment