This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dc4c6b1
commit 0c732b3
Showing
7 changed files
with
115 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Install flatpak packages | ||
- name: Remove_flatpak_apps | ||
community.general.flatpak: | ||
name: "{{ item.name | string }}" | ||
state: absent | ||
method: system | ||
loop: "{{ flatpak_remove }}" | ||
retries: "{{ retries_count }}" | ||
delay: "{{ delay_time }}" | ||
register: r_remove_flatpak_apps | ||
until: r_remove_flatpak_apps is success | ||
any_errors_fatal: false | ||
when: remove_flatpak is defined and remove_flatpak | ||
tags: | ||
- packages | ||
- flatpak | ||
- remove | ||
- name: Remove_flatpak_custom_apps | ||
community.general.flatpak: | ||
name: "{{ item.name | string }}" | ||
state: absent | ||
method: system | ||
loop: "{{ custom_flatpak_remove | default([]) }}" | ||
retries: "{{ retries_count }}" | ||
delay: "{{ delay_time }}" | ||
register: r_remove_custom_flatpak_apps | ||
until: r_remove_custom_flatpak_apps is success | ||
any_errors_fatal: false | ||
when: (custom_remove_flatpak is defined and custom_remove_flatpak | default([]) | length > 0 ) and remove_flatpak | ||
tags: | ||
- packages | ||
- flatpak | ||
- remove | ||
- custom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Tasks removes all files from `files_remove` list | ||
- name: Remove_obsolete_files_from_variables_file | ||
ansible.builtin.file: | ||
path: "{{ item.path }}" | ||
state: absent | ||
loop: "{{ files_remove | default([]) }}" | ||
retries: "{{ retries_count }}" | ||
delay: "{{ delay_time }}" | ||
register: r_files_remove | ||
until: r_files_remove is success | ||
any_errors_fatal: false | ||
ignore_errors: true | ||
tags: | ||
- files | ||
- base | ||
- obsolete |