Skip to content

Ansible role for initializing one or multiple git user credentials on a machine

License

Notifications You must be signed in to change notification settings

C-X1/gitmcredinit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitmcredinit

Initialize global credentials (user.name and user.email) for multiple users on development a machine

Requirements

Git must be installed on the target system. Requires root user.

Role Variables

Variable Description
users Array of users

User Item description

Variable Description
user System user account
name Full name of user
email Email

Dependencies

No role dependencies

Example Playbook

- name: Init git on host
  hosts: dev_machine
  vars:
     users:
         - 
          user: "robert"
          name: "Robert Example"
          email: "[email protected]"
         - 
          user: "anna"
          name: "Anna Example"
          email: "[email protected]"
      
  roles:
    - cyborg_x1.gitmcredinit

License

BSD

Author Information

Christian Holl: cyborgx1 [the at] gmail [the dot] com

About

Ansible role for initializing one or multiple git user credentials on a machine

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published