Skip to content

Commit 1ff939d

Browse files
author
Sebastian Gumprich
committed
Use correct variable and change travis-test
1 parent a1a439d commit 1ff939d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ install:
1111

1212
script:
1313
- ansible-playbook --syntax-check spec/travis.yml
14-
- ansible-playbook --sudo -v --diff spec/travis.yml --skip-tags "sysctl"
14+
- ansible-playbook --sudo -v --diff spec/travis.yml --skip-tags "sysctl" --extra-vars "os_security_users_allow=change_user"

roles/ansible-os-hardening/tasks/minimize_access.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515

1616
- name: change su-binary to only be accessible to user and group root
1717
file: dest='/bin/su' owner=root group=root mode=0750
18-
when: security_users_allow|default(None) != None
18+
when: os_security_users_allow != None

0 commit comments

Comments
 (0)