Skip to content

Latest commit

 

History

History
100 lines (78 loc) · 2.75 KB

README.md

File metadata and controls

100 lines (78 loc) · 2.75 KB

README.md

Ansible Role: mats116.rundeck

An Ansible role that configure Rundeck on Ubuntu 14.04 LTS

Requirements

none

Role Variables

Available variables are listed below, along with default values:

rundeck_version: "2.6.0"

rundeck_plugins:
  - "https://github.com/rundeck-plugins/rundeck-ec2-nodes-plugin/releases/download/v1.5.1/rundeck-ec2-nodes-plugin-1.5.1.jar"
  - "https://github.com/rundeck-plugins/rundeck-s3-log-plugin/releases/download/v1.0.0/rundeck-s3-log-plugin-1.0.0.jar"
  - "https://github.com/higanworks/rundeck-slack-incoming-webhook-plugin/releases/download/v0.3.dev/rundeck-slack-incoming-webhook-plugin-0.3.jar"

# framework.properties
framework_server_port: 4440
framework_server_url: "http://localhost:4440"
framework_server_username: admin
framework_server_password: admin

framework_ssh_keypath: /var/lib/rundeck/.ssh/id_rsa
framework_ssh_user: rundeck
framework_ssh_timeout: 0

rundeck_s3_bucket: ""
rundeck_s3_path: "logs/${job.project}/${job.id}/${job.execid}.log"
rundeck_s3_region: ap-northeast-1

# rundeck-config.properties
dataSource_dbCreate: update
rundeck_clusterMode_enabled: "true"

# MySQL
rd_mysql_host: localhost
rd_mysql_database: rundeck
rd_mysql_user: rundeck
rd_mysql_password: rundeck

# Nginx
rd_nginx_accesslog: /var/log/nginx/rundeck-access.log

# LDAP

rd_login_module: multiauth
rd_ldap:
    debug: "true"
    contextfactory: com.sun.jndi.ldap.LdapCtxFactory
    providerurl: ldap://server:389
    bindn: cn=Manager,dc=example,dc=com
    bindpassword: secret
    authenticationmethod: simple
    forcebindinglogin: "false"
    userbasedn: cn=People,cn=test1,dc=example,dc=com
    userrdnattribute: uid
    useridattribute: uid
    userpasswordattribute: userPassword
    userobjectclass: account
    rolebasedn: cn=Groups,cn=test1,dc=example,dc=com
    rolenameattribute: cn
    roleusernamememberattribute: memberUid
    rolememberattribute: memberUid
    roleobjectclass: posixGroup
    supplementalroles: user
    cachedurationmillis: 300000
    reportstatistics: "true"
    timeoutread: 10000
    timeoutconnect: 20000
    nestedgroups: "false"

Dependencies

Example Playbook

- hosts: rundeck-server
  roles:
    - role: mats116.rundeck
      framework_server_url: "https://rundeck.example.com"
      rd_mysql_host: rundeck.xxxxxxxxxxxx.ap-northeast-1.rds.amazonaws.com
      mysql_root_user: rds_admin
      mysql_root_password: rds_admin

License

MIT