-
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.
update to vagrant box bookworm, made script bookworm-compliable
- Loading branch information
1 parent
e2b0d69
commit 832a0eb
Showing
9 changed files
with
52 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
- name: Install apache | ||
apt: | ||
name: ["apache2"] | ||
update_cache: true | ||
state: "present" | ||
tags: | ||
- packages | ||
|
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
- unzip | ||
- jq | ||
- gzip | ||
- python-lxml | ||
- python3-lxml | ||
become: yes | ||
tags: | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
become: yes | ||
vars: | ||
packages: | ||
- python-lxml | ||
- python3-lxml | ||
tags: | ||
- packages | ||
- root-task | ||
|
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,14 @@ | ||
# Debian Bullseye (11) + | ||
|
||
- name: Check if SWITCHaai-swdistrib.list exists | ||
stat: | ||
path: /etc/apt/sources.list.d/SWITCHaai-swdistrib.list | ||
register: switchaai_sources_list_stat_result | ||
|
||
- include_tasks: migrate-from-switchaai.yml | ||
when: switchaai_sources_list_stat_result.stat.exists | ||
|
||
- name: Install shibboleth package for debian | ||
apt: | ||
update_cache: yes | ||
name: libapache2-mod-shib |
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,26 @@ | ||
|
||
- name: Remove switchaai shibboleth | ||
apt: | ||
name: shibboleth | ||
state: absent | ||
|
||
- command: | ||
cmd: apt-mark manual libapache2-mod-shib | ||
|
||
- name: Remove switchaai-apt-source | ||
apt: | ||
name: switchaai-apt-source | ||
purge: true | ||
state: absent | ||
|
||
- name: Remove switchaai files | ||
file: | ||
path: "{{ item }}" | ||
state: absent | ||
loop: | ||
- /etc/apt/trusted.gpg.d/SWITCHaai-swdistrib.gpg | ||
- /etc/apt/sources.list.d/SWITCHaai-swdistrib.list | ||
|
||
- name: apt update | ||
apt: | ||
update_cache: true |