deployment-playbooks/roles/preconf/tasks/main.yml

17 lines
464 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
- name: Add ssh keys for root
authorized_key: user=root key={{ item }} state=present exclusive=yes
with_items: "{{ ssh_root }}"
- import_tasks: ssh.yml
- import_tasks: packages.yml
- import_tasks: vars.yml
- import_tasks: chrony.yml
- import_tasks: logrotate.yml
- import_tasks: swap.yml
- import_tasks: logs.yml
- import_tasks: keys.yml
when: netstat not in ansible_hostname
- import_tasks: spec.yml
when: netstat not in ansible_hostname