Files
@ b496e3d0b9c5
Branch filter:
Location: ChaosStuff/cnc-dashboard/roles/initial/tasks/main.yml - annotation
b496e3d0b9c5
633 B
text/x-yaml
Add submodule README in initial role
c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac c3309581c2ac | # This role copies over the right SSH host keys, sets up some tools and creates the users
- name: Set up host ssh keys
import_tasks: ssh_host.yml
- name: Update system
become: yes
become_method: su
become_user: "root"
vars:
ansible_become_pass: root
community.general.pacman:
update_cache: yes
upgrade: yes
- name: Install basic tools (sudo, vim, etc.)
import_tasks: tools.yml
- name: Create users
import_tasks: users.yml
- name: Change hostname
become: yes
become_method: su
become_user: "root"
vars:
ansible_become_pass: root
ansible.builtin.hostname:
name: "{{ inventory_hostname }}"
|