Skip to content

Commit 6d2da14

Browse files
committed
Install support for POSIX ACLs if needed
1 parent ceaeab7 commit 6d2da14

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

tasks/install_packages_apt.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,5 @@
1111
- "{{ netbox_ldap_packages if netbox_ldap_enabled else [] }}"
1212
- "{{ 'git' if netbox_git else [] }}"
1313
- "{{ 'python-psycopg2' if (ansible_python_version | version_compare('3.0.0', '<')) else 'python3-psycopg2' }}"
14+
- "{{ 'acl' if ('SUDO_USER' in ansible_env and ansible_env.SUDO_USER != 'root') else [] }}"
15+

tasks/install_packages_yum.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
- "{{ netbox_ldap_packages if netbox_ldap_enabled else [] }}"
1616
- "{{ 'git' if netbox_git else [] }}"
1717
- python-psycopg2
18+
- "{{ 'acl' if ('SUDO_USER' in ansible_env and ansible_env.SUDO_USER != 'root') else [] }}"

0 commit comments

Comments
 (0)