Kapisi/roles/ShadowArch/tasks/main.yml

31 lines
720 B
YAML
Raw Normal View History

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
- 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 }}"
- include_tasks: archlinux-network.yml
2022-01-25 23:54:43 -06:00
when: ansible_os_family == "Archlinux"
- include_tasks: raspbian-network.yml
2022-01-25 23:54:43 -06:00
when: ansible_os_family == "Debian"
- include_tasks: dns.yml
- include_tasks: ntp.yml
- include_tasks: repositories.yml
2022-01-25 23:54:43 -06:00
- include_tasks: bash.yml
- include_tasks: shadowarch.yml