aboutsummaryrefslogtreecommitdiff
blob: cf51f781f02e909b05303a659e8da344c9f85255 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
# Set this extremely early, because it gets included into LVM & MD data.
# TODO: should it be the FQDN or not
- name: hostname
  ansible.builtin.command: hostname {{ hostname }}

- name: sysctl for install
  ansible.posix.sysctl:
    name: "{{ item.name }}"
    value: "{{ item.value }}"
    sysctl_set: "{{ item.sysctl_set | default (true) }}"
    state: "{{ item.state | default('present') }}"
    ignoreerrors: "{{ item.ignoreerrors | default (false) }}"
  loop:
    - { name: dev.raid.speed_limit_max, value: 2000000  }
  tags:
    - misc

- name: import keys
  ansible.builtin.command:
    cmd: " gpg --auto-key-locate=clear,nodefault,wkd --locate-key releng@gentoo.org"
  tags: 
    - misc