You've already forked ansible-role-auth-duo
Support fixed mirror
This commit is contained in:
24
molecule/fixed-mirror/prepare.yml
Normal file
24
molecule/fixed-mirror/prepare.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Prepare
|
||||
hosts: all
|
||||
tasks:
|
||||
- name: Ensure Pre-Requisites are installed
|
||||
yum:
|
||||
name: >
|
||||
openssh-server, openssh-clients,
|
||||
sshpass, passwd
|
||||
state: installed
|
||||
|
||||
- name: Ensure sshd is running
|
||||
service:
|
||||
name: sshd
|
||||
state: started
|
||||
enabled: true
|
||||
|
||||
- name: Ensure nologin files are absent
|
||||
file:
|
||||
path: "{{ item }}"
|
||||
state: absent
|
||||
with_items:
|
||||
- /etc/nologin
|
||||
- /var/run/nologin
|
||||
Reference in New Issue
Block a user