2022-01-25 23:54:43 -06:00
|
|
|
---
|
|
|
|
###
|
|
|
|
# This role installs the basic package and host setup for AniNIX operations.
|
|
|
|
|
|
|
|
# This is an AniNIX convention to allow password management by Ansible.
|
2023-05-02 17:32:11 -05:00
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: authentication.yml
|
2022-01-25 23:54:43 -06:00
|
|
|
|
|
|
|
- name: Set up hostname
|
|
|
|
vars:
|
|
|
|
ansible_become_password: "{{ passwords[inventory_hostname] }}"
|
|
|
|
become: yes
|
|
|
|
hostname:
|
|
|
|
name: "{{ inventory_hostname }}.{{ replica_domain }}"
|
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: archlinux-network.yml
|
2022-01-25 23:54:43 -06:00
|
|
|
when: ansible_os_family == "Archlinux"
|
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: raspbian-network.yml
|
2022-01-25 23:54:43 -06:00
|
|
|
when: ansible_os_family == "Debian"
|
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: dns.yml
|
|
|
|
|
|
|
|
- include_tasks: ntp.yml
|
|
|
|
|
|
|
|
- include_tasks: repositories.yml
|
2022-01-25 23:54:43 -06:00
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: bash.yml
|
2022-11-20 20:03:01 -06:00
|
|
|
|
2024-04-01 00:44:23 -05:00
|
|
|
- include_tasks: shadowarch.yml
|