1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

xinetd no longer exists; use mdadm instead (#7309)

xinetd no longer exists; use mdadm instead.
This commit is contained in:
Felix Fontein 2023-09-24 21:18:15 +02:00 committed by GitHub
parent a0d8f4de78
commit 522fb23e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,13 +4,14 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- vars:
package_name: xinetd
config_file: /etc/xinetd.conf
package_name: mdadm
config_file: /etc/mdadm.conf
block:
- name: Make sure that {{ package_name }} is not installed
pacman:
name: '{{ package_name }}'
state: absent
- name: Make sure {{config_file}}.pacsave file doesn't exist
file:
path: '{{config_file}}.pacsave'
@ -32,6 +33,7 @@
pacman:
name: '{{ package_name }}'
state: absent
- name: Make sure {{config_file}}.pacsave exists
stat:
path: '{{config_file}}.pacsave'