crivetimihai.users
Role Name
users
Ansible galaxy:
https://galaxy.ansible.com/crivetimihai/users
ansible-galaxy install crivetimihai.users
Requirements
- For RHEL, a Red Hat subscription or functional local repository.
Role Variables
users_groups:
- wheel
users_username:
- name: devops
sudo: true
shell: /usr/bin/bash
groups: wheel
# ssh_key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
comment: 'Created by ansible'
Dependencies
- For Red Hat, subscription-manager.
Example Playbook
---
- name: Install users on localhost
hosts:
- localhost
connection: local
tasks:
- name: users is configured
import_role:
name: crivetimihai.users
vars:
users_groups:
- wheel
users_username:
- name: devops
sudo: true
shell: /usr/bin/bash
groups: wheel
# ssh_key: "{{ lookup('file', lookup('env','HOME') + '/.ssh/id_rsa.pub') }}"
comment: 'Created by ansible'
tags: users
License
MIT
Author Information
Install
ansible-galaxy install crivetimihai.usersLicense
mit
Downloads
322
Owner
