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

This commit is contained in:
decentral1se 2022-05-31 09:12:56 +02:00
parent 93d516e969
commit 4c2de2476c
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
2 changed files with 4 additions and 4 deletions

View File

@ -6,9 +6,9 @@
# out during our test run and that is absolutely no bueno
sshd_permit_root_login: true
sshd_port: 22
members: files/members.yml
sshd_user_accounts: files/members.yml
pre_tasks:
- name: Include resource variables
include_vars: "{{ members }}"
include_vars: "{{ sshd_user_accounts }}"
roles:
- role: autonomic.sshd

View File

@ -4,7 +4,7 @@
that: "{{ item }} is defined"
fail_msg: "You must define the '{{ item }}' variable"
with_items:
- members
- sshd_user_accounts
- name: Disable root SSH login
lineinfile:
@ -22,7 +22,7 @@
notify: Restart SSH
- name: Include resource variables
include_vars: "{{ members }}"
include_vars: "{{ sshd_user_accounts }}"
tags:
# Note(d1): we already load in converge.yml so skip here
- molecule-notest