This role idempotently installs the JumpCloud agent and restarts the JumpCloud agent service as required.
cURL and NTP should be installed as prerequisites.
Default: none
The API key as displayed on the Servers > Add
screen. Mandatory.
Default: /tmp/jc_install
Path to the temp directory created for the install script.
Default: 0700
Octal code to use for permissions for the directory the install script will be pushed to.
Default: install.sh
Name of the install file.
Default: 0700
Octal code to use for permissions for the install script itself.
Default: root
Owner of the install script.
Default: root
Group of the install script.
Default: /opt/jc
Path to check if JumpCloud has been previously installed.
Default: 'https://kickstart.jumpcloud.com/Kickstart'
URL for the install script.
Default: install.j2
Path to the template to use for the install script.
Default: no
Used to determine whether or not to force installation of the client if it has been previously installed.
Default: jcagent
Name of the service to restart.
Default: no
Whether or not to use sudo during installation.
---
- hosts: production
roles:
- { role: shrikeh.jumpcloud, jumpcloud_x_connect_key: 'abcdef012234343' }
...
Contact me on Twitter @barney_hanlon