Skip to content

Commit

Permalink
refactor: consolidate debian task files
Browse files Browse the repository at this point in the history
  • Loading branch information
trfore committed Apr 29, 2024
1 parent 718eec3 commit 2b40979
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
8 changes: 0 additions & 8 deletions tasks/debian-container.yml

This file was deleted.

10 changes: 8 additions & 2 deletions tasks/debian.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---
- name: Create 'man' directory when containerized
ansible.builtin.include_tasks: debian-container.yml
# openjdk dep issue when installed in a container without man directory
# ref: https://github.com/geerlingguy/ansible-role-java/issues/64
# sol: https://github.com/geerlingguy/ansible-role-java/commit/ee7c12b13aa594dc747892860e563f45794e94d0
- name: Ensure 'man' Directory Exists (Debian & Ubuntu)
ansible.builtin.file:
path: /usr/share/man/man1
state: directory
recurse: true
when:
- ansible_virtualization_type in ['docker', 'container', 'containerd']
- ansible_os_family == 'Debian'
Expand Down

0 comments on commit 2b40979

Please sign in to comment.