forked from ISTI-ansible-roles/ansible-roles
Works on both debian and RH
This commit is contained in:
parent
4fb544e092
commit
2b058ee0b3
|
@ -7,9 +7,14 @@
|
|||
tags: [ 'ovirt_cloud_init_net', 'ovirt' ]
|
||||
|
||||
- block:
|
||||
- name: Remove the cloud-init package
|
||||
- name: Remove the cloud-init package ond Debian based systems
|
||||
apt: pkg=cloud-init state=absent
|
||||
when: ansible_distribution_file_variety == 'Debian'
|
||||
|
||||
- name: Remove the cloud-init package on CentOS
|
||||
yum: pkg=cloud-init state=absent
|
||||
when: ansible_distribution_file_variety == 'RedHat'
|
||||
|
||||
when: cloud_init_remove_pkg
|
||||
tags: [ 'ovirt_cloud_init', 'ovirt' ]
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue