use scoped name

pull/1/head 0.1.1
decentral1se 8 months ago
parent 93d516e969
commit 4c2de2476c
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410
  1. 4
      molecule/default/converge.yml
  2. 4
      tasks/main.yml

@ -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

@ -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