devroles.system.jenkins_cli_user (3.0.0) — module

configure Jenkins CLI users with pub key

| "added in version" 2.1 of devroles.system"

Authors: Gregory Hellings

Install collection

Install with ansible-galaxy collection install devroles.system:==3.0.0


Add to requirements.yml

  collections:
    - name: devroles.system
      version: 3.0.0

Description

This module configures admin users in Jenkins to utilize the specified SSH pubkey. Requires that role-based authentication be enabled and that a user be configured as an admin

Inputs

    
state:
    description: Currently limited to "present" - will create the user
    required: false

key_file:
    description: Path to the SSH keyfile to be listed as authorized
    required: true

jenkins_home:
    description: The root directory for the Jenkins install
    required: true

jenkins_user:
    description: The name of the user to configure the SSH key for