Files
ansible-role-auth-duo/molecule/fixed-mirror/prepare.yml

25 lines
511 B
YAML
Raw Normal View History

2023-10-11 12:48:46 +13:00
---
- 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