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