Host claim & no update role
script to (un)claim a host each login for a user & set noupdate mode for ansible if needed
Requirements
None.
Role Variables
Name | Type | Default value | Purpose | Comment | Role |
---|---|---|---|---|---|
host_claim_noupdate_conf | Boolean | false | If this variable is set to true in the inventory file, Ansible will run the role | Possible values: true: enables role false: disables role |
host_claim_noupdate |
host_claim_noupdate_zabbix_dashboard_url | String | undefined | variable to set an Zabbix Monitoring Dashboard url, which will be printed over claimscript at login. Default is undefined, so the ansible template will put only a url in the script, as soon it is defined. | host_claim_noupdate |
Dependencies
None.
Example Playbook
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- name: Standard roles for crossplatformed systems hosts: all roles:
- { role: host_claim_noupdate, tags: ["apt", "package", "claimscript", "claim", "crossplatformed"] }
License
BSD
Author Information
Maintainer:
Niklaus Kappeler
Support-Contact:
s4d-linux-support@id.ethz.ch