chore: add and apply yamllint

This commit is contained in:
cătălin 2024-03-26 09:04:30 +01:00
commit f65b92fe69
No known key found for this signature in database
50 changed files with 722 additions and 701 deletions

View file

@ -1,36 +1,36 @@
---
- name: Set same timezone on every Server
community.general.timezone:
name: "{{ system_timezone }}"
name: '{{ system_timezone }}'
when: (system_timezone is defined) and (system_timezone != "Europe/Madrid")
- name: Enable IPv4 forwarding
ansible.posix.sysctl:
name: net.ipv4.ip_forward
value: "1"
state: present
reload: yes
name: net.ipv4.ip_forward
value: '1'
state: present
reload: true
- name: Enable IPv6 forwarding
ansible.posix.sysctl:
name: net.ipv6.conf.all.forwarding
value: "1"
state: present
reload: yes
name: net.ipv6.conf.all.forwarding
value: '1'
state: present
reload: true
- name: Enable IPv6 router advertisements
ansible.posix.sysctl:
name: net.ipv6.conf.all.accept_ra
value: "2"
state: present
reload: yes
name: net.ipv6.conf.all.accept_ra
value: '2'
state: present
reload: true
- import_tasks: packages.yml
name: Install base packages
tags:
- packages
- packages
- import_tasks: mounts.yml
name: Mount NFS shares
tags:
- nfs
- nfs