File tree Expand file tree Collapse file tree 10 files changed +754
-522
lines changed
roles/goauthentik.appliance Expand file tree Collapse file tree 10 files changed +754
-522
lines changed Original file line number Diff line number Diff line change 22name : Build (DigitalOcean)
33
44on :
5+ pull_request :
6+ branches :
7+ - main
58 push :
69 branches :
710 - main
1518 - uses : actions/checkout@v4
1619 - uses : actions/setup-python@v5
1720 with :
18- python-version : ' 3.x '
21+ python-version-file : " pyproject.toml "
1922 - name : Install ansible
2023 env :
2124 DO_API_TOKEN : ${{ secrets.DIGITALOCEAN_TOKEN }}
3437 - run : packer validate -syntax-only .
3538 - run : packer build -color=false -force .
3639 env :
37- AUTHENTIK_VERSION : 2022.12.1
40+ AUTHENTIK_VERSION : 2025.2.0
3841 DIGITALOCEAN_TOKEN : ${{ secrets.DIGITALOCEAN_TOKEN }}
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ packer {
44 version = " >= 1.0.0"
55 source = " github.com/hashicorp/digitalocean"
66 }
7+ ansible = {
8+ version = " ~> 1"
9+ source = " github.com/hashicorp/ansible"
10+ }
711 }
812}
913
Original file line number Diff line number Diff line change 22name = " authentik-appliances"
33version = " 0.1.0"
44description = " "
5- authors = [ " Jens Langhammer <jens.langhammer@beryju.org> " ]
5+ package-mode = false
66
77[tool .poetry .dependencies ]
8- python = " ^3.10 "
8+ python = " ^3.12 "
99ansible = " ^9.2.0"
1010
11- [tool .poetry .dev- dependencies ]
11+ [tool .poetry .group . dev . dependencies ]
1212ansible-lint = " ^6.8.7"
1313
1414[build-system ]
Original file line number Diff line number Diff line change 11---
22roles :
33 - name : geerlingguy.pip
4- version : 2 .1.0
4+ version : 3 .1.0
55 - name : geerlingguy.docker
6- version : 4.1.1
6+ version : 7.4.5
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ function prefixwith {
1010}
1111
1212function in_continer() {
13- docker exec -it authentik_server_1 ak $@
13+ docker exec -it authentik-server-1 ak $@
1414}
1515
1616function appliance() {
Original file line number Diff line number Diff line change 2828 content : |
2929 PG_PASS=foo
3030 - name : authentik | Compose pre-pull
31- docker_compose :
31+ community.docker.docker_compose_v2 :
3232 project_src : /srv/authentik
33- pull : yes
33+ pull : always
3434- name : authentik | Compose stop
35- docker_compose :
35+ community.docker.docker_compose_v2 :
3636 project_src : /srv/authentik
3737 state : absent
3838 remove_volumes : yes
Original file line number Diff line number Diff line change 33 vars :
44 pip_install_packages :
55 - name : docker
6- - name : docker-compose
6+ docker_edition : ' ce'
7+ docker_packages :
8+ - " docker-{{ docker_edition }}"
9+ - " docker-{{ docker_edition }}-cli"
10+ # - "docker-{{ docker_edition }}-rootless-extras"
11+ docker_packages_state : present
12+ docker_install_compose_plugin : true
13+ docker_compose_package : docker-compose-plugin
14+ docker_compose_package_state : present
715 docker_install_compose : true
16+ docker_compose_path : /usr/local/bin/docker-compose
817 docker_daemon_options :
918 live-restore : true
1019 log-opts :
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ elif [ -n "$(command -v apt-get)" ]; then
2121 export DEBIAN_FRONTEND=noninteractive
2222 apt-get -y update
2323 apt-get -o Dpkg::Options::=" --force-confold" upgrade -q -y --force-yes
24+ apt-get purge droplet-agent* -y
2425 apt-get -y autoremove
2526 apt-get -y autoclean
2627fi
You can’t perform that action at this time.
0 commit comments