Skip to content

Commit

Permalink
NR-144355: install logrotate on Debian images
Browse files Browse the repository at this point in the history
  • Loading branch information
rogercoll committed Aug 21, 2023
1 parent 534da67 commit 1585471
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/automated/ansible/group_vars/localhost/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ instances:
# platform: "linux"
# python_interpreter: "/usr/bin/python3"
# launch_template: "LaunchTemplateId=lt-0b00afb3f5110a0e6,Version=3"
# - ami: "ami-02e9e442f629e6834"
- ami: "ami-02e9e442f629e6834"
type: "t3a.small"
name: "amd64:debian-bookworm"
username: "admin"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
---

- name: Install logrotate
apt:
name: logrotate
state: present
update_cache: yes

- name: Create rsyslog script directory
file: path=/usr/lib/rsyslog state=directory mode=0755

Expand All @@ -15,4 +21,4 @@
src: rsyslog.j2
dest: "/etc/logrotate.d/rsyslog"

...
...

0 comments on commit 1585471

Please sign in to comment.