use scoped var
continuous-integration/drone/push Build is passing Details

This commit is contained in:
decentral1se 2022-05-31 09:14:59 +02:00
parent 934b471467
commit 65d5e5478f
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
- name: Converge
hosts: all
vars:
members: files/members.yml
add_users_user_accounts: files/members.yml
pre_tasks:
- name: Wait for Hetzner VPS networking to come up
pause:
@ -10,7 +10,7 @@
echo: false
- name: Include resource variables
include_vars: "{{ members }}"
include_vars: "{{ add_users_user_accounts }}"
# Note(d1): We create the accounts before the role since we do not make
# molecule test this part of the role under test because we do not setup

View File

@ -4,10 +4,10 @@
that: "{{ item }} is defined"
fail_msg: "You must define the '{{ item }}' variable"
with_items:
- members
- add_users_user_accounts
- name: Include resource variables
include_vars: "{{ members }}"
include_vars: "{{ add_users_user_accounts }}"
tags:
# Note(d1): we already load in converge.yml so skip here
- molecule-notest