This commit is contained in:
Madars Batraks 2025-09-02 15:57:41 +03:00
parent 570e069ded
commit a8d606a3d4
4 changed files with 24 additions and 3 deletions

10
roles/common/tasks/\ Normal file
View File

@ -0,0 +1,10 @@
- name: Install ldap packages
apt:
name:
- something-something-ldap # es neatceros nevienu ldap package ;-;
- something-else-ldap
state: present
- name: Copy config files
copy:
src: "/etc/kaut-kas-ldap/{{}}.conf"

View File

@ -0,0 +1,10 @@
- name: Install ldap packages
apt:
name:
- something-something-ldap # es neatceros nevienu ldap package ;-;
- something-else-ldap
state: present
- name: Copy config files
copy:
src: "/etc/kaut-kas-ldap/{{}}.conf"

View File

@ -1,15 +1,16 @@
- name: Install basic packages - name: Install basic packages
ansible.builtin.package: ansible.builtin.package:
name: name:
- neovim - vim
- htop - htop
- wget
- git - git
- curl - curl
state: present state: present
- name: Set a hostname - name: Set a hostname
ansible.builtin.hostname: ansible.builtin.hostname:
name: "{{inventory_hostname}}" name: "{{hostname}}"
- name: Set default hosts file - name: Set default hosts file
ansible.builtin.template: ansible.builtin.template:

View File

@ -1,5 +1,5 @@
127.0.0.1 localhost 127.0.0.1 localhost
127.0.0.1 {{ inventory_hostname }} 127.0.0.1 {{ hostname }}
# The following lines are desirable for IPv6 capable hosts # The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback ::1 localhost ip6-localhost ip6-loopback