Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

oasis-roles/passwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This Role Has Been Deprecated: Please use the version in the oasis_roles.system Ansible Collection

Build Status

PASSWD

This role changes the password for a user account.

Requirements

Ansible 2.4 or higher

Red Hat Enterprise Linux 7 or equivalent

Valid Red Hat Subscriptions

Role Variables

Currently the following variables are supported:

General

  • passwd_username - REQUIRED - The username for which to change the password

  • passwd_password - REQUIRED - Password hash to pass to Ansible's user module. IMPORTANT: See Ansible's documentation for properly and securely generating and storing this hash.

  • passwd_become - Defaults to true. Whether or not to use the become feature of Ansible to gain admin privileges. This will be necesssary for changing the root password, or the password of a user other than Ansible's remote_user.

  • passwd_become_user - Defaults to root. The user to sudo/become

Dependencies

None

Example Playbook

- hosts: passwd-servers
  roles:
    - role: oasis-roles.passwd
      passwd_username: root
      passwd_password: "<password_hash>"
      passwd_become: true
      passwd_become_user: root

License

GPLv3

Author Information

David Roble [email protected]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages