Compare commits

...

2 Commits

Author SHA1 Message Date
91e4942de8 klal
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
2025-09-03 21:08:27 +02:00
be9b55d746 build
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s
2025-08-26 09:02:52 +02:00
3 changed files with 16 additions and 10 deletions

View File

@@ -41,8 +41,15 @@
owner: root
group: root
when: inventory_hostname != 'nas.home.lan'
- name: Upload exclude file
ansible.builtin.copy:
src: "{{ dest_folder }}/exclude.txt"
dest: /myapps/exclude.txt
remote_src: true
mode: '0755'
owner: root
group: root
when: inventory_hostname != 'nas.home.lan'
- name: Upload requirements
ansible.builtin.copy:
src: "{{ dest_folder }}/requirements.txt"

View File

@@ -4,22 +4,21 @@
state: present
become: true
- name: Display all interfaces name
debug:
ansible.builtin.debug:
var: ansible_facts.interfaces
- name: Get wifi adapter
set_fact:
ansible.builtin.set_fact:
active_adapter: '{{ item }}'
loop: '{{ ansible_facts.interfaces }}'
when: 'item.startswith("eno")'
- name: Display all interfaces name
debug:
ansible.builtin.debug:
msg: "{{ ansible_default_ipv4.interface }}"
- name: Creating config
become: true
ansible.builtin.copy:
dest: "/etc/systemd/system/wol.service"
content: |
[Unit]

View File

@@ -71,7 +71,7 @@
- zabbix-agent2
- zabbix-agent2-plugin-mongodb
- zabbix-agent2-plugin-postgresql
#- zabbix-agent2-plugin-mysql
# - zabbix-agent2-plugin-mysql
update_cache: true
when: inventory_hostname != 'nas.home.lan'
@@ -81,7 +81,7 @@
- zabbix-agent2
- zabbix-agent2-plugin-mongodb
- zabbix-agent2-plugin-postgresql
#- zabbix-agent2-plugin-mysql
# - zabbix-agent2-plugin-mysql
only_upgrade: true
state: latest
when: inventory_hostname != 'nas.home.lan'