Kapisi/roles/ShadowArch/tasks/main.yml

31 lines
720 B
YAML

---
###
# This role installs the basic package and host setup for AniNIX operations.
# This is an AniNIX convention to allow password management by Ansible.
- include_tasks: authentication.yml
- name: Set up hostname
vars:
ansible_become_password: "{{ passwords[inventory_hostname] }}"
become: yes
hostname:
name: "{{ inventory_hostname }}.{{ replica_domain }}"
- include_tasks: archlinux-network.yml
when: ansible_os_family == "Archlinux"
- include_tasks: raspbian-network.yml
when: ansible_os_family == "Debian"
- include_tasks: dns.yml
- include_tasks: ntp.yml
- include_tasks: repositories.yml
- include_tasks: bash.yml
- include_tasks: shadowarch.yml