first commit
This commit is contained in:
20
solutions/install.yml
Normal file
20
solutions/install.yml
Normal file
@@ -0,0 +1,20 @@
|
||||
# playbook.yml
|
||||
- name: Install Packages and Groups
|
||||
hosts: all
|
||||
|
||||
become: true
|
||||
|
||||
tasks:
|
||||
- name: Install packages on test group
|
||||
ansible.builtin.dnf:
|
||||
name:
|
||||
- httpd
|
||||
- php
|
||||
state: latest
|
||||
when: inventory_hostname in groups['test']
|
||||
|
||||
- name: Install RPM Development Tools group on dev group
|
||||
ansible.builtin.dnf:
|
||||
name: "@RPM Development Tools"
|
||||
state: latest
|
||||
when: inventory_hostname in groups['dev']
|
||||
Reference in New Issue
Block a user