diff options
Diffstat (limited to 'roles/logrotate')
| -rw-r--r-- | roles/logrotate/meta/argument_specs.yml | 6 | ||||
| -rw-r--r-- | roles/logrotate/meta/main.yml | 18 | ||||
| -rw-r--r-- | roles/logrotate/tasks/main.yml | 6 |
3 files changed, 30 insertions, 0 deletions
diff --git a/roles/logrotate/meta/argument_specs.yml b/roles/logrotate/meta/argument_specs.yml new file mode 100644 index 00000000..535b7cb5 --- /dev/null +++ b/roles/logrotate/meta/argument_specs.yml @@ -0,0 +1,6 @@ +--- +argument_specs: + main: + short_description: "Install logrotate on Linux distribution" + description: "Install logrotate on Linux distribution" + options: {} diff --git a/roles/logrotate/meta/main.yml b/roles/logrotate/meta/main.yml new file mode 100644 index 00000000..fc28bd1e --- /dev/null +++ b/roles/logrotate/meta/main.yml @@ -0,0 +1,18 @@ +--- +dependencies: [] +galaxy_info: + author: "a14m" + description: "Install logrotate" + company: "kartoffeln.work GmbH." + license: "MIT" + min_ansible_version: "2.18" + platforms: + - name: "ArchLinux" + versions: + - "all" + - name: "Ubuntu" + versions: + - "noble" + - name: "Debian" + versions: + - "bookworm" diff --git a/roles/logrotate/tasks/main.yml b/roles/logrotate/tasks/main.yml new file mode 100644 index 00000000..65204181 --- /dev/null +++ b/roles/logrotate/tasks/main.yml @@ -0,0 +1,6 @@ +--- +- name: "Ensure logrotate is installed" + become: true + ansible.builtin.package: + name: "logrotate" + state: "present" |
