Files
ansible-role-auth-duo/molecule/fixed-mirror/prepare.yml
Aaron Guise 549dbd568f
Some checks failed
ci/woodpecker/manual/lint Pipeline was successful
ci/woodpecker/push/lint Pipeline failed
ci/woodpecker/manual/test Pipeline failed
ci/woodpecker/push/test unknown status
Support fixed mirror
2023-10-11 12:48:46 +13:00

25 lines
511 B
YAML

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