ansible tweaking, finalize suse

This commit is contained in:
t3chn0m4g3
2023-06-25 16:56:18 +02:00
parent 1094b33665
commit 9be17e982b
3 changed files with 12 additions and 13 deletions

View File

@ -62,6 +62,18 @@
update_cache: yes update_cache: yes
when: ansible_distribution in ["Fedora"] when: ansible_distribution in ["Fedora"]
- name: Remove conflicting packages (openSUSE Tumbleweed)
package:
name:
- cups
- net-tools
- postfix
- yast2-auth-client
- yast2-auth-user
state: absent
update_cache: yes
when: ansible_distribution in ["openSUSE Tumbleweed"]
- name: Install recommended packages (openSUSE Tumbleweed) - name: Install recommended packages (openSUSE Tumbleweed)
package: package:
name: name:
@ -76,18 +88,6 @@
update_cache: yes update_cache: yes
when: ansible_distribution in ["openSUSE Tumbleweed"] when: ansible_distribution in ["openSUSE Tumbleweed"]
- name: Remove conflicting packages (openSUSE Tumbleweed)
package:
name:
- cups
- net-tools
- postfix
- yast2-auth-client
- yast2-auth-user
state: absent
when: ansible_distribution in ["openSUSE Tumbleweed"]
################################################# #################################################
# T-Pot - Prepare for and install Docker Engine # # T-Pot - Prepare for and install Docker Engine #
################################################# #################################################
@ -153,7 +153,6 @@
- docker-compose - docker-compose
state: latest state: latest
update_cache: yes update_cache: yes
notify: Restart Docker
when: ansible_distribution in ["openSUSE Tumbleweed"] when: ansible_distribution in ["openSUSE Tumbleweed"]
- name: Install Docker Engine packages (Debian, Fedora, Ubuntu) - name: Install Docker Engine packages (Debian, Fedora, Ubuntu)