-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure both are installed and configured. XXX TODO: move config files in backoffice-apache2.git and backoffice-shibboleth.git into this repo with history preserved by creating a branches in them that move files into appropriate locations, adding those repos as new remotes to this one, and merging said branches into master here.
- Loading branch information
Showing
2 changed files
with
39 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
- name: switchaai apt-source package is installed | ||
apt: | ||
deb: https://pkg.switch.ch/switchaai/ubuntu/dists/bionic/main/binary-all/misc/switchaai-apt-source_1.0.0ubuntu1_all.deb | ||
register: switchaai_source_pkg | ||
|
||
- name: apt cache is up-to-date after new source installed | ||
apt: | ||
update_cache: true | ||
when: switchaai_source_pkg.changed | ||
|
||
- name: apache is installed | ||
apt: | ||
package: | ||
- apache2 | ||
- libapache2-mod-proxy-uwsgi | ||
- libapache2-mod-shib | ||
- libapache2-mod-wsgi-py3 | ||
- python3-certbot-apache | ||
|
||
- name: apache is enabled | ||
service: | ||
name: apache2 | ||
enabled: yes | ||
state: started | ||
|
||
# XXX TODO: merge backoffice-apache2.git and backoffice-shibboleth.git into | ||
# this repo and manage their installation, etc. |