collection of ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

49 lines
1000 B

bootstrap_hostname: "{{ ansible_hostname }}"
bootstrap_domain: "{{ ansible_domain }}"
bootstrap_shell:
ubuntu: /bin/bash
openbsd: /bin/ksh
alpine: /bin/ash
archlinux: /bin/bash
bootstrap_groups:
ubuntu: sudo
openbsd: wheel
alpine: wheel
archlinux: wheel
bootstrap_users:
- name: ansible
shell: "{{ bootstrap_shell[ansible_distribution|lower] }}"
groups: "{{ bootstrap_groups[ansible_distribution|lower] }}"
state: present
authorized_keys:
- "{{ lookup('file', ansible_ssh_public_key_file) }}"
bootstrap_packages:
ubuntu:
- name: tcpdump
state: present
- name: htop
state: present
- name: tmux
state: present
- name: strace
state: present
- name: postfix
state: present
- name: mailutils
state: present
openbsd:
- name: vim--no_x11
state: present
alpine:
- name: vim
state: present
archlinux:
- name: vim
state: present
bootstrap_root_mail: root@localhost