mirror of
https://github.com/mrlesmithjr/ansible-manage-lvm.git
synced 2026-09-07 16:08:20 +03:00
Merge pull request #70 from cityofships/optimize
CentOS: Optimise package installs
This commit is contained in:
+4
-8
@@ -1,19 +1,15 @@
|
|||||||
---
|
---
|
||||||
- name: centos | installing lvm2
|
- name: centos | installing lvm2 and sg3_utils
|
||||||
package:
|
package:
|
||||||
name: lvm2
|
name:
|
||||||
|
- lvm2
|
||||||
|
- sg3_utils
|
||||||
state: present
|
state: present
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- include_tasks: amazon.yml
|
- include_tasks: amazon.yml
|
||||||
when: ansible_facts.system_vendor == 'Amazon EC2'
|
when: ansible_facts.system_vendor == 'Amazon EC2'
|
||||||
|
|
||||||
- name: centos | installing sg3_utils
|
|
||||||
package:
|
|
||||||
name: sg3_utils
|
|
||||||
state: present
|
|
||||||
become: true
|
|
||||||
|
|
||||||
- name: centos | debug lvg
|
- name: centos | debug lvg
|
||||||
debug:
|
debug:
|
||||||
var: lv
|
var: lv
|
||||||
|
|||||||
Reference in New Issue
Block a user