mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2025-12-14 22:04:48 +03:00
CentOS: Optimise package installs
This commit is contained in:
@@ -1,19 +1,15 @@
|
||||
---
|
||||
- name: centos | installing lvm2
|
||||
- name: centos | installing lvm2 and sg3_utils
|
||||
package:
|
||||
name: lvm2
|
||||
name:
|
||||
- lvm2
|
||||
- sg3_utils
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- include_tasks: amazon.yml
|
||||
when: ansible_facts.system_vendor == 'Amazon EC2'
|
||||
|
||||
- name: centos | installing sg3_utils
|
||||
package:
|
||||
name: sg3_utils
|
||||
state: present
|
||||
become: true
|
||||
|
||||
- name: centos | debug lvg
|
||||
debug:
|
||||
var: lv
|
||||
|
||||
Reference in New Issue
Block a user