mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #7309/522fb23e backport][stable-5] xinetd no longer exists; use mdadm instead (#7311)
xinetd no longer exists; use mdadm instead (#7309)
xinetd no longer exists; use mdadm instead.
(cherry picked from commit 522fb23e06
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
7b302f1d06
commit
7279ea33dd
1 changed files with 4 additions and 2 deletions
|
@ -4,13 +4,14 @@
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
- vars:
|
- vars:
|
||||||
package_name: xinetd
|
package_name: mdadm
|
||||||
config_file: /etc/xinetd.conf
|
config_file: /etc/mdadm.conf
|
||||||
block:
|
block:
|
||||||
- name: Make sure that {{ package_name }} is not installed
|
- name: Make sure that {{ package_name }} is not installed
|
||||||
pacman:
|
pacman:
|
||||||
name: '{{ package_name }}'
|
name: '{{ package_name }}'
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Make sure {{config_file}}.pacsave file doesn't exist
|
- name: Make sure {{config_file}}.pacsave file doesn't exist
|
||||||
file:
|
file:
|
||||||
path: '{{config_file}}.pacsave'
|
path: '{{config_file}}.pacsave'
|
||||||
|
@ -32,6 +33,7 @@
|
||||||
pacman:
|
pacman:
|
||||||
name: '{{ package_name }}'
|
name: '{{ package_name }}'
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Make sure {{config_file}}.pacsave exists
|
- name: Make sure {{config_file}}.pacsave exists
|
||||||
stat:
|
stat:
|
||||||
path: '{{config_file}}.pacsave'
|
path: '{{config_file}}.pacsave'
|
||||||
|
|
Loading…
Reference in a new issue