Skip to content

Commit

Permalink
Add Ubuntu support
Browse files Browse the repository at this point in the history
  • Loading branch information
MatMaul committed Nov 3, 2019
1 parent ade6601 commit a77057f
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ env:
- distro: fedora24
init: /usr/lib/systemd/systemd
run_opts: "--privileged --volume=/sys/fs/cgroup:/sys/fs/cgroup:ro"
- distro: ubuntu1804
init: /sbin/init
run_opts: ""

# Tell Travis to start Docker when it brings up an environment.
services:
Expand Down
5 changes: 3 additions & 2 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ galaxy_info:
# - 9.1
# - 9.2
# - 9.3
#- name: Ubuntu
# versions:
- name: Ubuntu
versions:
- bionic
# - all
# - lucid
# - maverick
Expand Down
1 change: 0 additions & 1 deletion tests/test-assertions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,5 @@
- "kerberos_config_contents.rc == 0"
- "kerberos_config_contents.stdout.find('default_realm = OTHEREXAMPLE.COM')"
- "kerberos_config_contents.stdout.find('renew_lifetime = 30d')"
- "kerberos_config_contents.stdout.find('ticket_lifetime = 24h')"
- "kerberos_config_contents.stdout.find('otherexample.com = OTHEREXAMPLE.COM')"
- "kerberos_config_contents.stdout.find('OTHEREXAMPLE.COM = {')"
25 changes: 25 additions & 0 deletions vars/Ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
kerberos_os_supported: yes
kerberos_skip_defaults: false

kerberos_config_file: "/etc/krb5.conf"
kerberos_keytab_file: "/etc/krb5.keytab"

kerberos_packages:
- krb5-user
- sasl2-bin
- libsasl2-2
- libsasl2-modules
- libsasl2-modules-gssapi-mit

kerberos_defaults:
libdefaults:
default_realm: "EXAMPLE.COM"
kdc_timesync: 1
ccache_type: 4
forwardable: true
proxiable: true
fcc-mit-ticketflags: true
domain_realm:
example__com: "EXAMPLE.COM"
__example__com: "EXAMPLE.COM"

0 comments on commit a77057f

Please sign in to comment.