base: ansible-lint fixes
This commit is contained in:
parent
c23181edc7
commit
186cd19cd1
3 changed files with 30 additions and 30 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: set correct hostname
|
||||
- name: Set correct hostname
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/myname
|
||||
content: "{{ inventory_hostname }}\n"
|
||||
|
@ -7,7 +7,7 @@
|
|||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: configure mirror for packages and updates
|
||||
- name: Configure mirror for packages and updates
|
||||
ansible.builtin.copy:
|
||||
dest: /etc/installurl
|
||||
content: "https://ftp.eu.openbsd.org/pub/OpenBSD/\n"
|
||||
|
@ -16,7 +16,7 @@
|
|||
group: "{{ ansible_wheel }}"
|
||||
when: ansible_datacenter == "home"
|
||||
|
||||
- name: install packages
|
||||
- name: Install packages
|
||||
ansible.builtin.package:
|
||||
name: "{{ item }}"
|
||||
state: installed
|
||||
|
@ -26,7 +26,7 @@
|
|||
- rsync-- # rsync
|
||||
- vim--no_x11 # we need real vim
|
||||
|
||||
- name: disable nightly cron noise
|
||||
- name: Disable nightly cron noise
|
||||
ansible.builtin.copy:
|
||||
dest: "{{ item }}"
|
||||
content: "VERBOSESTATUS=0\n"
|
||||
|
@ -38,18 +38,18 @@
|
|||
- /etc/weekly.local
|
||||
- /etc/monthly.local
|
||||
|
||||
- name: disable unused services
|
||||
- name: Disable unused services
|
||||
ansible.builtin.service:
|
||||
name: sndiod
|
||||
enabled: false
|
||||
state: stopped
|
||||
|
||||
- name: do not run check_quotas on boot
|
||||
- name: Do not run check_quotas on boot
|
||||
ansible.builtin.service:
|
||||
name: check_quotas
|
||||
enabled: false
|
||||
|
||||
- name: create /srv directory hierarcy
|
||||
- name: Create /srv directory hierarcy
|
||||
ansible.builtin.file:
|
||||
name: /srv
|
||||
state: directory
|
||||
|
@ -57,7 +57,7 @@
|
|||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
- name: install os specific roles
|
||||
- name: Install OS specific roles
|
||||
ansible.builtin.include_role:
|
||||
name: "{{ role }}"
|
||||
with_items:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue