Files
a13labs.infra/ansible/roles/duo_security/molecule/default/prepare.yml
T

19 lines
490 B
YAML
Raw Normal View History

2024-09-24 15:19:51 +02:00
---
- name: Prepare
hosts: all
gather_facts: false
tasks:
- name: Update cache # noqa no-changed-when
ansible.builtin.raw: apt update
- name: Install required packages # noqa no-changed-when
ansible.builtin.raw: apt install -y python3 sudo openssh-server
- name: Create required directories # noqa no-changed-when
ansible.builtin.file:
path: var/run/sshd
state: directory
mode: "0755"
owner: root
group: root