-
Bug
-
Resolution: Done
-
Minor
-
RH294 - RHEL 8 0, RH294 - Early Access
-
None
-
10
-
en-US (English)
URL:
Reporter RHNID: alpaslank
Section: -
Language: en-US (English)||||||||
Workaround: Either change lineinfile module requirement or the solution accordingly
Description: In "Guided Exercise: Managing Users and Authentication" step 6, "copy" module is used although the exercise tells to use "lineinfile" module:
Add a fourth task to the play that uses the lineinfile module to modify the sudo config file and allow the webadmin group members to use sudo without a password on the remote host.
The fourth task appears as follows:
- name: Modify sudo config to allow webadmin users sudo without a password
copy:
content: "%webadmin ALL=(ALL) NOPASSWD: ALL"
dest: /etc/sudoers.d/webadmin
mode: 0440