This is an Ansible role to install, configure and ensure sure rundeck is running. Feedback, bug-reports, requests are welcomed and can be done via github issues.
The following variables can be overridden:
rundeck_protocol
: Defaults to http but should be set to the protocol the web application with accessed by.rundeck_domain
: Defaults to localhost:4440 but should be set to the host name web application with accessed by.rundeck_database_type
: Defaults to hsqldb but can be set to postgresql or mysql to use those databases. Users and databases are not automatically created.rundeck_database_host
: Defaults to localhost and only needs to be set if using an externally hosted database.rundeck_database_port
: Defaults to None and must be set if using a different database than the default hsqldb.rundeck_database_name
: Defaults to rundeck but allows you to use a different rundeck database name.rundeck_database_user
: Defaults to rundeck but allows you to use a different username to accesses the rundeck database.rundeck_database_pass
: Defaults to rundeck but allows you to use a different password for the user access to the rundeck database.rundeck_users
: A list of dictionaries of name, password (hashed) and a list of roles (One must be an admin). If empty the default admin is not removed.rundeck_plugins
: A list of plugin urls that are downloaded and installed into the rundeck libext, default is none.rundeck_extra_bootstrap
: A list of extra jar urls that are downloaded and installed into the rundeck bootstrap, default is none.rundeck_generate_ssh
: Automatically generate ssh key, defgault True
set to False
to stop this action.rundeck_ldap
: Determine if LDAP authentication should be used, overrides rundeck_users. Default is False. The LDAP server must a user
group to privde access to rundeck web interface.rundeck_ldap_url
: The location of the LDAP server, i.e. ldap://localhost:389rundeck_ldap_bind_user
: The DN to access the LDAP server, i.e. cn=Manager,dc=example,dc=comrundeck_ldap_bind_pass
: The DN user password o access the LDAP server, secrentrundeck_ldap_user_dn
: The DN of the users, i.e. ou=People,dc=test1,dc=example,dc=comrundeck_ldap_user_rdn_attr
: The attribute that identifies the username, i.e. uidrundeck_ldap_user_id_attr
: The attribute that identifies the username, i.e. uidrundeck_ldap_bindinglogin
: Default: false. If true, bind as the user that is authenticating, otherwise bind as the manager and perform a search to verify user passwordrundeck_ldap_user_pass_attr
: The attribute that identifies the user password, i.e. userPasswordrundeck_ldap_user_filter
: The objectClass that is used to find user, i.e. accountrundeck_ldap_role_dn
: The DN of the roles, i.e. ou=Groups,dc=test1,dc=example,dc=comrundeck_ldap_role_name_attr
: The attribute name of the role, i.e. cnrundeck_ldap_role_username_attr
: This overrides the rundeck_ldap_role_member_attr
determine user membership of roles, i.e. uidrundeck_ldap_role_member_attr
: Used to determine user membership of roles, i.e. memberrundeck_ldap_role_filter
: The objectClass that is used to find role, i.e. groupOfNamesrundeck_ldap_netsted_groups
: Default: false. If true, will resolve all nested groups for authenticated usersrundeck_ldap_debug
: Default: false. Enable/Disable ldap debugingrundeck_crowd
: Default: False. Determine if Atlassian Crowd authentication should be used, overrides rundeck_usersrundeck_crowd_jaas_jars
: List of URL to get Crowd JAAS jars fromrundeck_crowd_name
: Default: 'RunDeck'. Application name to access Crowdrundeck_crowd_pass
: Default: 'secret'. Application password to access Crowdrundeck_crowd_url
: Default: 'http://localhost/crowd/'.rundeck_crowd_maxconn
: Default: 20. httpMaxConnectionsrundeck_crowd_timeout
: Default: 5000. httpTimeoutrundeck_crowd_proxy_host
: Default: Undefinedrundeck_crowd_proxy_port
: Default: Undefinedrundeck_crowd_proxy_username
: Default: Undefinedrundeck_crowd_proxy_password
: Default: Undefinedrundeck_crowd_debug
: Default: False. Enable/Disable Crowd auth debuggingThis role does not have a hard dependency on any other role to deploy but rundeck does require java to be installed (decoupled on the communities request). smola's ansible-java-role is a good choice with the following configuration:
If you choose to use a database then please ensure it is installed before executing this role. The following roles have been used to create databases:
Please check changes using the vagrant boxes provided, i.e.:
cd tests/vagrant-centos65
vagrant up
To use PostgreSQL database, export the playbook first, i.e.:
export PLAYBOOK=postgresql_redhat_test.yml
Licensed under the MIT License. See the LICENSE file for details.