few fixes
This commit is contained in:
parent
b4306a89eb
commit
d19ecaaf48
@ -22,7 +22,6 @@ def test_ansible_sudoer(host):
|
||||
etc_sudoers_d_ansible = host.file("/etc/sudoers.d/ansible")
|
||||
assert not etc_sudoers_d_ansible.exists
|
||||
|
||||
|
||||
def test_ansible_no_ssh(host):
|
||||
"""Validate that ansible user has no authorized_keys"""
|
||||
opt_ansible_authorized_keys = host.file("/opt/ansible/.ssh/authorized_keys")
|
||||
|
@ -3,6 +3,7 @@ provision_ansible_user_name: ansible
|
||||
provision_ansible_user_group: ansible
|
||||
provision_ansible_user_password: "*"
|
||||
provision_ansible_user_is_system: true
|
||||
provision_ansible_user_home: /opt/{{ provision_ansible_user_name }}
|
||||
provision_ansible_user_shell: /bin/bash
|
||||
provision_ansible_user_sudoer: true
|
||||
provision_ansible_user_add_ssh_key: true
|
||||
|
Loading…
Reference in New Issue
Block a user