diff --git a/.travis.yml b/.travis.yml index 2a0c57825..57d793c78 100644 --- a/.travis.yml +++ b/.travis.yml @@ -55,7 +55,7 @@ script: - 'docker exec "$(cat ${container_id})" ansible-playbook /etc/ansible/roles/ansible-os-hardening/default.yml --skip-tags "sysctl"' # Verify role - - 'inspec exec https://github.com/dev-sec/linux-baseline/ -t docker://$(cat ${container_id}) --controls=os-01 os-02 os-03 os-04 os-05 os-06 os-07 package-01 package-02 package-03 package-04 package-05 package-06' + - 'inspec exec https://github.com/dev-sec/linux-baseline/ -t docker://$(cat ${container_id}) --controls=os-01 os-02 os-03 os-04 os-05 os-06 os-07 os-09 os-10 package-01 package-02 package-03 package-04 package-05 package-06 package-09' notifications: webhooks: https://galaxy.ansible.com/api/v1/notifications/ diff --git a/defaults/main.yml b/defaults/main.yml index e9e785f83..b6fd8316f 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -22,7 +22,7 @@ os_chfn_restrict: '' # may contain: change_user os_security_users_allow: [] # specify system accounts those login should not be disabled and password not changed -os_ignore_users: ['vagrant'] +os_ignore_users: ['vagrant', 'kitchen'] os_security_kernel_enable_module_loading: true os_security_kernel_enable_core_dump: false os_security_suid_sgid_enforce: true