klal
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 0s

This commit is contained in:
2025-09-03 21:08:27 +02:00
parent be9b55d746
commit 91e4942de8
2 changed files with 7 additions and 8 deletions

View File

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

View File

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