diff options
author | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-06-01 09:24:36 -0400 |
---|---|---|
committer | Stonewall Jackson <stonewall@sacredheartsc.com> | 2023-06-01 09:24:36 -0400 |
commit | 3f5be7a4561573ae0cc8f1f6e70aadcc8ced18d8 (patch) | |
tree | abbdfc9b8ec2105a86e299509ac036e61cd0b9ee | |
parent | 3c68d1f765bef7c22dc0cf0f801b528292761dfc (diff) | |
download | selfhosted-3f5be7a4561573ae0cc8f1f6e70aadcc8ced18d8.tar.gz selfhosted-3f5be7a4561573ae0cc8f1f6e70aadcc8ced18d8.zip |
remove evolution role, since we use KDE now
-rw-r--r-- | README.md | 4 | ||||
-rw-r--r-- | playbooks/linux_desktops.yml | 3 | ||||
-rw-r--r-- | playbooks/linux_laptops.yml | 3 | ||||
-rw-r--r-- | roles/evolution/README.md | 46 | ||||
-rw-r--r-- | roles/evolution/defaults/main.yml | 6 | ||||
-rw-r--r-- | roles/evolution/handlers/main.yml | 2 | ||||
-rw-r--r-- | roles/evolution/tasks/main.yml | 23 | ||||
-rw-r--r-- | roles/evolution/templates/etc/dconf/db/site.d/10-evolution.j2 | 2 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-caldav.source.j2 | 41 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-carddav.source.j2 | 41 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-imap.source.j2 | 60 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-mail.source.j2 | 51 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-smtp.source.j2 | 22 | ||||
-rw-r--r-- | roles/evolution/templates/usr/local/share/evolution/sources/ac-tasks.source.j2 | 41 | ||||
-rw-r--r-- | roles/evolution/vars/main.yml | 1 |
15 files changed, 2 insertions, 344 deletions
@@ -118,8 +118,8 @@ for single sign-on (where possible). All my desktop computers also run Rocky Linux, and are joined to my FreeIPA domain. When you log in with GDM, you'll get a Kerberos ticket that is used by -[Firefox](roles/firefox), [Evolution](roles/evolution), and other applications -to automatically authenticate you without having to type your password again. +[Firefox](roles/firefox) and other applications to automatically authenticate +you without having to type your password again. For services that don't support Kerberos (or devices that don't support it, like smartphones), everything falls back to username/password authentication over TLS. diff --git a/playbooks/linux_desktops.yml b/playbooks/linux_desktops.yml index 6fa6570..be653fd 100644 --- a/playbooks/linux_desktops.yml +++ b/playbooks/linux_desktops.yml @@ -16,8 +16,5 @@ - role: firefox tags: firefox - - role: evolution - tags: evolution - - role: cups_client tags: cups diff --git a/playbooks/linux_laptops.yml b/playbooks/linux_laptops.yml index a3c62a6..d5a0593 100644 --- a/playbooks/linux_laptops.yml +++ b/playbooks/linux_laptops.yml @@ -16,9 +16,6 @@ - role: firefox tags: firefox - - role: evolution - tags: evolution - - role: cups_client tags: cups diff --git a/roles/evolution/README.md b/roles/evolution/README.md deleted file mode 100644 index 1f10072..0000000 --- a/roles/evolution/README.md +++ /dev/null @@ -1,46 +0,0 @@ -Evolution -========= - -Description ------------ - -The `evolution` role configures [autoconfig](https://wiki.gnome.org/Apps/Evolution/Autoconfig) -files for the [Evolution](https://wiki.gnome.org/Apps/Evolution) mail/calendar -application. - -When a user starts Evolution for the first time, accounts will automatically be -added for the local IMAP, SMTP, CalDAV, and CardDAV servers, -using GSSAPI for authentication. - - -Variables ---------- - -This role **accepts** the following variables: - -Variable | Default | Description -------------------------------|----------------------|------------ -`evolution_mail_account_name` | `{{ organization }}` | Name of the mail account -`evolution_dav_account_name` | `{{ organization }}` | Name of the CalDAV/CardDAV account -`evolution_email_domain` | `{{ email_domain }}` | Domain used to construct the email address from `$USER` -`evolution_imap_host` | `{{ imap_host }}` | IMAP hostname -`evolution_smtp_host` | `{{ mail_host }}` | SMTP hostname -`evolution_dav_host` | `dav.{{ domain }}` | CalDAV/CardDAV hostname - - -Usage ------ - -Example playbook: - -````yaml -- name: configure evolution mail client - hosts: linux_desktops - roles: - - role: evolution - vars: - evolution_imap_host: imap.example.com - evolution_smtp_host: smtp.example.com - evolution_dav_host: dav.example.com - evolution_email_domain: example.com -```` diff --git a/roles/evolution/defaults/main.yml b/roles/evolution/defaults/main.yml deleted file mode 100644 index c6c69af..0000000 --- a/roles/evolution/defaults/main.yml +++ /dev/null @@ -1,6 +0,0 @@ -evolution_mail_account_name: '{{ organization }}' -evolution_dav_account_name: '{{ organization }}' -evolution_email_domain: '{{ email_domain }}' -evolution_imap_host: '{{ imap_host }}' -evolution_smtp_host: '{{ mail_host }}' -evolution_dav_host: 'dav.{{ domain }}' diff --git a/roles/evolution/handlers/main.yml b/roles/evolution/handlers/main.yml deleted file mode 100644 index 1931b02..0000000 --- a/roles/evolution/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ -- name: update dconf - command: dconf update diff --git a/roles/evolution/tasks/main.yml b/roles/evolution/tasks/main.yml deleted file mode 100644 index 543dec7..0000000 --- a/roles/evolution/tasks/main.yml +++ /dev/null @@ -1,23 +0,0 @@ -- name: create evolution autoconfig directory - file: - path: '{{ evolution_autoconfig_dir }}' - state: directory - recurse: yes - -- name: set evolution autoconfig source - template: - src: etc/dconf/db/site.d/10-evolution.j2 - dest: /etc/dconf/db/site.d/10-evolution - notify: update dconf - -- name: generate evolution autoconfig sources - template: - src: '{{ evolution_autoconfig_dir[1:] }}/{{ item }}.j2' - dest: '{{ evolution_autoconfig_dir }}/{{ item }}' - loop: - - ac-caldav.source - - ac-carddav.source - - ac-tasks.source - - ac-imap.source - - ac-mail.source - - ac-smtp.source diff --git a/roles/evolution/templates/etc/dconf/db/site.d/10-evolution.j2 b/roles/evolution/templates/etc/dconf/db/site.d/10-evolution.j2 deleted file mode 100644 index b1a1a0b..0000000 --- a/roles/evolution/templates/etc/dconf/db/site.d/10-evolution.j2 +++ /dev/null @@ -1,2 +0,0 @@ -[org/gnome/evolution-data-server] -autoconfig-directory='{{ evolution_autoconfig_dir }}' diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-caldav.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-caldav.source.j2 deleted file mode 100644 index c214fde..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-caldav.source.j2 +++ /dev/null @@ -1,41 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_dav_account_name }} -Enabled=true -Parent=caldav-stub - -[Security] -Method=tls - -[Authentication] -Host={{ evolution_dav_host }} -Method=GSSAPI -Port=443 -ProxyUid=system-proxy -RememberPassword=true -User=${USER} -CredentialName= -IsExternal=false - -[Offline] -StaySynchronized=true - -[Refresh] -Enabled=true -IntervalMinutes=5 - -[WebDAV Backend] -AvoidIfmatch=false -CalendarAutoSchedule=false -DisplayName={{ evolution_dav_account_name }} -EmailAddress=${USER}@{{ evolution_email_domain }} -ResourcePath=/calendars/${USER}/personal/ -ResourceQuery= -SslTrust= - -[Calendar] -BackendName=caldav -Color=#729fcf -Selected=true diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-carddav.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-carddav.source.j2 deleted file mode 100644 index c1088ac..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-carddav.source.j2 +++ /dev/null @@ -1,41 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_dav_account_name }} -Enabled=true -Parent=webdav-stub - -[Security] -Method=tls - -[Authentication] -Host={{ evolution_dav_host }} -Method=GSSAPI -Port=443 -ProxyUid=system-proxy -RememberPassword=true -User=${USER} -CredentialName= -IsExternal=false - -[Autocomplete] -IncludeMe=true - -[Offline] -StaySynchronized=true - -[WebDAV Backend] -AvoidIfmatch=false -CalendarAutoSchedule=false -DisplayName={{ evolution_dav_account_name }} -EmailAddress= -ResourcePath=/addressbooks/${USER}/personal/ -ResourceQuery= -SslTrust= - -[Contacts Backend] -IncludeMe=true - -[Address Book] -BackendName=webdav diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-imap.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-imap.source.j2 deleted file mode 100644 index 3350e22..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-imap.source.j2 +++ /dev/null @@ -1,60 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_mail_account_name }} -Enabled=true -Parent= - -[Offline] -StaySynchronized=true - -[Refresh] -Enabled=true -IntervalMinutes=60 - -[Authentication] -Host={{ evolution_imap_host }} -Method=GSSAPI -Port=993 -ProxyUid=system-proxy -RememberPassword=true -User=${USER} -CredentialName= - -[Mail Account] -BackendName=imapx -IdentityUid=ac-mail -ArchiveFolder=folder://ac-imap/Archive -NeedsInitialSetup=false - -[Security] -Method=ssl-on-alternate-port - -[Imapx Backend] -FilterInbox=true -StoreChangesInterval=3 -LimitByAge=true -LimitUnit=years -LimitValue=1 -UseMultiFetch=false -CheckAll=true -CheckSubscribed=true -ConcurrentConnections=3 -FetchOrder=ascending -FilterAll=false -FilterJunk=false -FilterJunkInbox=false -Namespace= -RealJunkPath=Junk -RealTrashPath=Trash -ShellCommand=ssh -C -l %u %h exec /usr/sbin/imapd -UseIdle=true -UseNamespace=false -UseQresync=true -UseRealJunkPath=true -UseRealTrashPath=true -UseShellCommand=false -UseSubscriptions=false -IgnoreOtherUsersNamespace=false -IgnoreSharedFoldersNamespace=false diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-mail.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-mail.source.j2 deleted file mode 100644 index 08269a7..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-mail.source.j2 +++ /dev/null @@ -1,51 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_mail_account_name }} -Enabled=true -Parent=ac-imap - -[Mail Composition] -Bcc= -Cc= -DraftsFolder=folder://ac-imap/Drafts -ReplyStyle=default -SignImip=true -TemplatesFolder=folder://local/Templates -StartBottom=off -TopSignature=on - -[Mail Identity] -Address=${USER}@{{ evolution_email_domain }} -Aliases= -Name=${REALNAME} -Organization= -ReplyTo= -SignatureUid=autogenerated - -[Mail Submission] -SentFolder=folder://ac-imap/Sent -TransportUid=ac-smtp -RepliesToOriginFolder=false -UseSentFolder=true - -[Pretty Good Privacy (OpenPGP)] -AlwaysTrust=false -EncryptToSelf=true -KeyId= -SigningAlgorithm= -SignByDefault=false -EncryptByDefault=false -PreferInline=false - -[Message Disposition Notifications] -ResponsePolicy=ask - -[Secure MIME (S/MIME)] -EncryptionCertificate= -EncryptByDefault=false -EncryptToSelf=true -SigningAlgorithm= -SigningCertificate= -SignByDefault=false diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-smtp.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-smtp.source.j2 deleted file mode 100644 index 63d7bbe..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-smtp.source.j2 +++ /dev/null @@ -1,22 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_mail_account_name }} -Enabled=true -Parent=ac-imap - -[Mail Transport] -BackendName=smtp - -[Authentication] -Host={{ evolution_smtp_host }} -Method=GSSAPI -Port=587 -ProxyUid=system-proxy -RememberPassword=true -User=${USER} -CredentialName= - -[Security] -Method=starttls-on-standard-port diff --git a/roles/evolution/templates/usr/local/share/evolution/sources/ac-tasks.source.j2 b/roles/evolution/templates/usr/local/share/evolution/sources/ac-tasks.source.j2 deleted file mode 100644 index b41900f..0000000 --- a/roles/evolution/templates/usr/local/share/evolution/sources/ac-tasks.source.j2 +++ /dev/null @@ -1,41 +0,0 @@ -[Autoconfig] -Revision=1 - -[Data Source] -DisplayName={{ evolution_dav_account_name }} -Enabled=true -Parent=caldav-stub - -[Security] -Method=tls - -[Authentication] -Host={{ evolution_dav_host }} -Method=GSSAPI -Port=443 -ProxyUid=system-proxy -RememberPassword=true -User=${USER} -CredentialName= -IsExternal=false - -[Offline] -StaySynchronized=true - -[Refresh] -Enabled=true -IntervalMinutes=5 - -[WebDAV Backend] -AvoidIfmatch=false -CalendarAutoSchedule=false -DisplayName={{ evolution_dav_account_name }} -EmailAddress=${USER}@{{ evolution_email_domain }} -ResourcePath=/calendars/${USER}/personal/ -ResourceQuery= -SslTrust= - -[Task List] -BackendName=caldav -Color=#729fcf -Selected=true diff --git a/roles/evolution/vars/main.yml b/roles/evolution/vars/main.yml deleted file mode 100644 index 26ce565..0000000 --- a/roles/evolution/vars/main.yml +++ /dev/null @@ -1 +0,0 @@ -evolution_autoconfig_dir: /usr/local/share/evolution/sources |