mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
9027c367d4
pacman: support yay as root (#6713)
* pacman: support yay as root
* make pylint happy
* minor adjustments
* rollback some test actions
* removal of user and pkgs in handlers
* add comment to note
* add changelog frag
* fix doc
* Update tests/integration/targets/pacman/tasks/yay-become.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* Update tests/integration/targets/pacman/tasks/yay-become.yml
Co-authored-by: Felix Fontein <felix@fontein.de>
* simplify pkg install in int. tests
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit f6ee2177a2
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
23 lines
520 B
YAML
23 lines
520 B
YAML
---
|
|
# Copyright (c) Ansible Project
|
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
- name: Remove user yaybuilder
|
|
ansible.builtin.user:
|
|
name: yaybuilder
|
|
state: absent
|
|
|
|
- name: Remove yay
|
|
ansible.builtin.package:
|
|
name: yay
|
|
state: absent
|
|
|
|
- name: Remove packages for yay-become
|
|
ansible.builtin.package:
|
|
name:
|
|
- base-devel
|
|
- yay
|
|
- git
|
|
- nmap
|
|
state: absent
|