26 lines
523 B
YAML
26 lines
523 B
YAML
---
|
|
- hosts: localhost
|
|
connection: local
|
|
|
|
vars_files:
|
|
- vars/common.yml
|
|
- vars/users.yml
|
|
- vars/server.yml
|
|
- vars/abertrand.yml
|
|
|
|
tasks:
|
|
- include: tasks/ansible.yml
|
|
- include: tasks/deb_CLI_packages.yml
|
|
- include: tasks/prompt.yml
|
|
- include: tasks/users.yml
|
|
- include: tasks/sudo.yml
|
|
- include: tasks/ssh.yml
|
|
- include: tasks/dotfiles.yml
|
|
- include: tasks/deb_docker.yml
|
|
|
|
handlers:
|
|
- name: restart sshd
|
|
service:
|
|
name: sshd
|
|
state: restarted
|