This commit is contained in:
parent
93d516e969
commit
4c2de2476c
@ -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
|
||||
|
Reference in New Issue
Block a user