diff --git a/playbooks/update_ssh_keys.yml b/playbooks/update_ssh_keys.yml index 203b209..8a64d71 100755 --- a/playbooks/update_ssh_keys.yml +++ b/playbooks/update_ssh_keys.yml @@ -9,12 +9,12 @@ mode: '0700' - name: Download id_rsa ansible.builtin.get_url: - url: http://192.168.77.101:48000/ssh/id_rsa + url: http://192.168.77.238:48000/ssh/id_rsa dest: ~/.ssh/id_rsa mode: '0600' - name: Download id_rsa.pub ansible.builtin.get_url: - url: http://192.168.77.101:48000/ssh/id_rsa.pub + url: http://192.168.77.238:48000/ssh/id_rsa.pub dest: ~/.ssh/id_rsa.pub mode: '0600' - name: get remote file contents diff --git a/roles/fail2ban/tasks/main.yml b/roles/fail2ban/tasks/main.yml index 92410d8..cc92418 100755 --- a/roles/fail2ban/tasks/main.yml +++ b/roles/fail2ban/tasks/main.yml @@ -4,6 +4,8 @@ name: - fail2ban - sendmail +#add line to /etc/hosts +#127.0.0.1 m-server localhost.... - name: Copy files copy: src: "{{ item }}" diff --git a/roles/matter-server/tasks/main.yml b/roles/matter-server/tasks/main.yml index fe5fbc7..a02386f 100755 --- a/roles/matter-server/tasks/main.yml +++ b/roles/matter-server/tasks/main.yml @@ -3,8 +3,8 @@ ansible.builtin.lineinfile: path: /etc/sysctl.conf regexp: "^Unet.ipv4.igmp_max_memberships.*" - line: "net.ipv4.igmp_max_memberships = 75" + line: "net.ipv4.igmp_max_memberships = 80" - name: Restart agent - ansible.builtin.shell: echo 76 > /proc/sys/net/ipv4/igmp_max_memberships + ansible.builtin.shell: echo 80 > /proc/sys/net/ipv4/igmp_max_memberships notify: restart_matter_server become: true diff --git a/roles/monitoring/tasks/main.yml b/roles/monitoring/tasks/main.yml index f444213..392efe8 100755 --- a/roles/monitoring/tasks/main.yml +++ b/roles/monitoring/tasks/main.yml @@ -23,9 +23,9 @@ # dest: /tmp/ - name: Install a .deb package from the internet11 ansible.builtin.apt: - deb: https://repo.zabbix.com/zabbix/6.4/ubuntu-arm64/pool/main/z/zabbix-release/zabbix-release_6.4-1+ubuntu22.04_all.deb + deb: https://repo.zabbix.com/zabbix/7.2/release/ubuntu/pool/main/z/zabbix-release/zabbix-release_latest_7.2+ubuntu24.04_all.deb when: - - ansible_facts.architecture != "armv7l" and ( ansible_distribution == "Ubuntu" or ansible_distribution == "Linux Mint" ) + - ansible_facts.architecture != "armv7l" and ( ansible_distribution == "Ubuntu1" or ansible_distribution == "Linux Mint" ) become: true - name: Install a .deb package from the internet2 ansible.builtin.apt: @@ -48,7 +48,7 @@ - name: Install a .deb package from the internet4 ansible.builtin.apt: #deb: https://repo.zabbix.com/zabbix/6.4/debian/pool/main/z/zabbix-release/zabbix-release_6.4-1+debian12_all.deb - deb: https://repo.zabbix.com/zabbix/7.0/debian/pool/main/z/zabbix-release/zabbix-release_7.0-1+debian12_all.deb + deb: https://repo.zabbix.com/zabbix/7.2/debian/pool/main/z/zabbix-release/zabbix-release_7.2-1+debian12_all.deb when: - ansible_facts.architecture != "armv7l" and ansible_facts.architecture != "aarch64" and ansible_distribution == "Debian" and ansible_distribution_major_version == "12" ignore_errors: true