Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
Note on the playbook: for successful configuration, the hosts mention in the playbook must match a group to which the host that will request configuration belongs. For instance, if your playbook has a hosts: webservers mention, your Scalr-managed server will have to belong to the webservers group to be configured successfully. You could use the Farm Role group names generated by the inventory script, but if you don’t want your playbooks to break each time you rename a Farm Role in Scalr, we recommend writing separate playbooks for each role, and using hosts: all in each of these playbooks.


Make sure that the job template applies to the inventory that contains the group that we configured in step 1, otherwise the callback script will fail with an error "No suitable host was found".

Once you have the host configuration key and your job template is saved, proceed to the next step.

...