ansible-repo/playbooks/packages.yml

59 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-10-22 16:16:43 +10:00
---
- name: packages
hosts: all
become: true
become_method: sudo
tasks:
- name: Install the packages versions
ansible.builtin.package:
name:
- htop
#- iperf3
- git
- curl
- net-tools
- vim
- sudo
#state: latest
state: present
- name: check-stuff packages
hosts: net-stuff
become: true
become_method: sudo
tasks:
- name: Install the packages versions
ansible.builtin.package:
name:
- iperf3
#state: latest
state: present
- name: ceph packages
hosts: semyons
become: true
become_method: sudo
tasks:
- name: Install the packages versions
ansible.builtin.package:
name:
- ceph
#state: latest
state: present
- name: iptables
hosts:
- kubernetes
- docker
become: true
become_method: sudo
tasks:
- name: Install the packages versions
ansible.builtin.package:
name:
- iptables
#state: latest
state: present