treehouselabs.sysward
ansible-sysward
This Ansible role will install and set up the SysWard Agent on your system.
Requirements
To use this role, you need:
- Ansible version 2.4 or newer
- A valid SysWard API key
Role Variables
This role has one variable:
sysward_api_key
- This variable stores your SysWard API key. You can find it in your SysWard profile. Make sure to include this variable in your playbook or in your host/group variable files. We suggest storing this key in an Ansible Vault file to keep it secure.
Dependencies
This role has no dependencies.
Example Playbook
After installing the role with the command ansible-galaxy install treehouselabs.sysward
,
you can use it in your playbooks.
It’s a good idea to store your SysWard API key in an Ansible Vault file for security. If you do this, your playbook could look like this:
- hosts: servers
become: yes
become_user: root
pre_tasks:
- name: Include Ansible Vault file
include_vars: secrets.yml
roles:
- { role: treehouselabs.sysward }
If you don’t want to use an Ansible Vault file, you can set the sysward_api_key
variable directly in your role like this:
- hosts: servers
become: yes
become_user: root
roles:
- { role: treehouselabs.sysward, sysward_api_key: APIKEY }
License
This role is licensed under the MIT license. Check the LICENSE file for the complete license details.
Author Information
This role is created and maintained by TreeHouse B.V. from Rotterdam, The Netherlands. We are an internet agency focused mainly on real estate and recruitment websites.