Compare commits

17 Commits
dev ... main

Author SHA1 Message Date
6e785d005d Fix formating
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 23:05:08 +01:00
6289b65025 Fix formating
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 23:03:51 +01:00
cdc2309703 Remove debug for actions
Some checks failed
Lint ansible / lint (push) Failing after 14s
2024-02-22 22:56:09 +01:00
cb5606fb2f Testing
Some checks failed
Lint ansible / lint (push) Failing after 16s
2024-02-22 22:54:45 +01:00
82a556cc60 clone
Some checks failed
Lint ansible / lint (push) Failing after 3s
2024-02-22 22:53:29 +01:00
349ddb47dc I have no idea what i'm doing
Some checks failed
Lint ansible / setup (push) Successful in 40s
Lint ansible / lint (push) Failing after 13s
2024-02-22 22:49:14 +01:00
cbf7c102c1 Testing
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 22:47:22 +01:00
1339358f3c Debug
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 22:45:45 +01:00
ac37196ca1 Still testing
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 22:44:07 +01:00
acb5f74b8d Test
Some checks failed
Lint ansible / lint (push) Failing after 13s
2024-02-22 22:42:19 +01:00
a60548d559 Testing
Some checks failed
Lint ansible / lint (push) Failing after 25s
2024-02-22 22:38:22 +01:00
7dc9fd3592 Added ansible lint
Some checks failed
Lint ansible / lint (push) Failing after 11s
2024-02-20 23:13:27 +01:00
1003327c83 Added ansible lint
Some checks failed
Lint ansible / lint (push) Failing after 0s
2024-02-20 23:11:59 +01:00
92a78f7ef7 Added ansible lint
Some checks failed
Lint ansible / lint (push) Failing after 0s
2024-02-20 23:05:52 +01:00
49e97098e3 Added ansible lint
Some checks failed
Lint ansible / lint (push) Failing after 39s
2024-02-20 23:04:23 +01:00
b93e3cd369 Added ansible lint
Some checks are pending
Lint ansible / lint (push) Waiting to run
2024-02-20 22:59:27 +01:00
7fd1b7cbe6 Added ansible lint 2024-02-20 22:58:00 +01:00
2 changed files with 16 additions and 3 deletions

View File

@ -0,0 +1,11 @@
name: Lint ansible
on: [push]
jobs:
lint:
container: pipelinecomponents/ansible-lint
steps:
- name: "Clone code"
run: git clone https://git.tomislav-kopic.from.hr/tomislav/Ansible.git && cd Ansible
- name: "Run linter"
run: ansible-lint --show-relpath

View File

@ -11,17 +11,17 @@
tasks: tasks:
- name: Upgrade zabbix-release - name: Upgrade zabbix-release
apt: ansible.builtin.apt:
name: zabbix-release name: zabbix-release
state: latest state: latest
- name: uninstall zabbix agent - name: uninstall zabbix agent
apt: ansible.builtin.apt:
name: zabbix-agent name: zabbix-agent
state: absent state: absent
- name: install zabbix agent2 - name: install zabbix agent2
apt: ansible.builtin.apt:
name: zabbix-agent2 name: zabbix-agent2
state: latest state: latest
@ -33,6 +33,8 @@
group: zabbix group: zabbix
mode: '0644' mode: '0644'
backup: yes backup: yes
- name: Copy zabbix key
ansible.builtin.copy: ansible.builtin.copy:
content: "{{ psk_key }}" content: "{{ psk_key }}"
dest: /etc/zabbix/key.psk dest: /etc/zabbix/key.psk