Fix of fail2ban, create_zfs_dataset (not done yet), bashrc, inventory rework

This commit is contained in:
git
2024-01-30 09:58:55 +01:00
parent eee0e16ae8
commit ec0a0774a7
19 changed files with 344 additions and 26 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Copy /root/.bashrc
template:
src: ../templates/bashrc
dest: /root/.bashrc
owner: root
group: root
mode: '0644'
- name: Copy /home/{{ user }}/.bashrc
template:
src: ../templates/bashrc
dest: /home/{{ user }}/.bashrc
owner: "{{ user }}"
group: "{{ user }}"
mode: '0644'

View File

@@ -7,7 +7,8 @@
- hostname_set.yml
- git.yml
- create_user.yml
# - script_import.yml
- set_perma_ip.yml
- bashrc_copy.yml
#- name: Set Pernament IP
# ansible.builtin.include_tasks: set_perma_ip.yml

View File

@@ -5,4 +5,5 @@
dest: /etc/network/interfaces
owner: root
group: root
mode: '0644'
mode: '0644'
notify: networking restart