Installs and configures sudo. By default sets up two groups, which will be granted sudo access: one with password and one without.
None. The neccessary groups are created, if they do not exist.
- pacsudo_allow_group: sudo
- Controls the group of users, who are allowed to use sudo WITH password. Default "sudo".
- pacsudo_nopasswd_group: sudonopw
- Control the group of users, who are allowed to use sudo WITHOUT password. Default "sudonopw".
None.
- hosts: servers
roles:
- { role: proactcloud.sudo, pacsudo_allow_group: mysudogroup, pacsudo_nopasswd_group: mynopwgroup }
Copyright 2019 Proact Deutschland GmbH
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Patrick Dreker [email protected]