This repository has been archived on 2023-05-19. You can view files and clone it, but cannot push or open issues or pull requests.
skylab-ansible/roles/server/tasks/main.yaml
Ethan Paul 8ac7e0f5a3
Add hostfile management to server role
Add aliases for direct connections of the cluster servers
2021-11-09 00:26:28 -05:00

15 lines
384 B
YAML

---
- name: Configure sudoers file
ansible.builtin.import_tasks: sudoers.yaml
- name: Configure SSH server
ansible.builtin.import_tasks: sshd.yaml
- name: Configure network settings
when: skylab_networking is defined
ansible.builtin.include_tasks: networkd.yaml
- name: Configure hostsfile
when: skylab_direct_peers is defined
ansible.builtin.include_tasks: hosts.yaml