Commit 9d41eaa8 authored by Vitaly Lipatov's avatar Vitaly Lipatov

ansible: remove obsolete playbooks

- check_upgrade_desktop.yml: replaced by upgrade_desktop.yml - forZabbix/: no longer used - gluster_update_from_task.retry: temp file 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: 's avatarClaude Opus 4.5 <noreply@anthropic.com>
parent 6820b890
---
- hosts: desktop
gather_facts: no
tasks:
- name: drop temp repo
shell: epm rr tasks
- name: update
shell: epm update
- name: upgrade
shell: epm upgrade --auto
---
- hosts: smartmon
gather_facts: no
tasks:
- name: copy script
copy: src=/var/tmp/check_smartmon dest=/usr/lib/nagios/plugins
become: true
# - name: copy script
# copy: src=/usr/local/sbin/script.sh dest=/usr/local/sbin
# become: true
#
# - name: copy second script
# copy: src=/usr/local/sbin/for_zabbix.sh dest=/usr/local/sbin
# become: true
#
# - name: start script
# shell: bash /usr/local/sbin/script.sh
# become: true
---
- hosts: testZABBIX1
gather_facts: no
tasks:
- name: update repositories
shell: epm update
- name: install iostat
shell: epm --auto install sysstat
- name: install hddtemp
shell: epm --auto install hddtemp
- name: copy script
copy: src=/usr/local/sbin/iostat.sh dest=/usr/local/sbin
- name: start script
shell: bash /usr/local/sbin/iostat.sh
- name: Add monitoting disk util with iostat.
cron:
name: 'iostat output'
job: 'DATA=$(S_TIME_FORMAT=ISO /usr/bin/iostat -yxdt -o JSON 59 1) ; echo "$DATA" >/tmp/iostat-cron.out'
state: present
tags: cronjob
\ No newline at end of file
---
- hosts: testZABBIX1
gather_facts: no
tasks:
- name: copy script
copy: src=/usr/local/sbin/del_agent.sh dest=/usr/local/sbin
- name: start script
shell: bash /usr/local/sbin/del_agent.sh
\ No newline at end of file
builder32
builder64
cellar
euclid
lav
nun
server
virtualbox
windsor
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment