use scoped name
All checks were successful
continuous-integration/drone/push Build is passing

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 # out during our test run and that is absolutely no bueno
sshd_permit_root_login: true sshd_permit_root_login: true
sshd_port: 22 sshd_port: 22
members: files/members.yml sshd_user_accounts: files/members.yml
pre_tasks: pre_tasks:
- name: Include resource variables - name: Include resource variables
include_vars: "{{ members }}" include_vars: "{{ sshd_user_accounts }}"
roles: roles:
- role: autonomic.sshd - role: autonomic.sshd

View File

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