59 lines
1.1 KiB
YAML
59 lines
1.1 KiB
YAML
|
---
|
||
|
- 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
|