Files

19 lines
490 B
YAML

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