Select Git revision

Rafael László authored
main.yaml 647 B
---
- name: Setup Admin users
include_tasks: users.yaml
loop: "{{ users }}"
loop_control:
loop_var: user
- name: Update and upgrade apt packages
become: true
apt:
upgrade: "yes"
update_cache: yes
cache_valid_time: 86400 # One day
- name: Install packages
include_tasks: packages.yaml
- name: Place sshd configuration file.
template:
src: etc/ssh/sshd_config.j2
dest: /etc/ssh/sshd_config
mode: 0600
- name: Ensure sshd is restarted and enabled to start at boot.
service:
name: sshd
state: restarted
enabled: yes
- name: Setup firewall
include_tasks: firewall.yaml
tags: [firewall]