Skip to content

Commit e153cd2

Browse files
committed
Remove Ubuntu ESP/Pro Messages
1 parent af739b4 commit e153cd2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

defaults/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ motd_entries:
1616
- "10-help-text"
1717
- "80-esm"
1818
- "80-livepatch"
19+
- "88-esm-announce"
20+
- "90-updates-available"
21+
- "91-contract-ua-esm-status"
1922

2023
# Define Message of the Day items which need to be unlinked (remove -x does not work)
2124
to_unlink:
@@ -45,6 +48,7 @@ enable_these_motd_files:
4548
# - 50-fail2ban-status # Fail2ban status per jail
4649
# - 60-lxd # Status of lxd containers
4750
# - 60-docker # Status of Deployed Docker Containers
51+
- 90-updates-available-no-esm # Updated available without ESM or Pro Messages
4852

4953
# [ Message of the day Services overrides ]########################################################
5054
# The "40-services" service is from another repository with a default set of services to include

tasks/02_setup_motd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
option: "ENABLED"
7979
value: "{{ show_ubuntu_news_message }}"
8080
no_extra_spaces: true
81-
mode: "'0644"
81+
mode: "0644"
8282
create: false
8383
when:
8484
- motd_file.stat.exists

0 commit comments

Comments
 (0)