diff --git a/roles/authserver/tasks/main.yml b/roles/authserver/tasks/main.yml index 817068d0f..00ec12408 100644 --- a/roles/authserver/tasks/main.yml +++ b/roles/authserver/tasks/main.yml @@ -50,18 +50,19 @@ enabled=yes when: authserver_enabled -- name: add xs-authserver to service list - ini_file: dest='{{ iiab_ini_file }}' - section=xs-authserver - option='{{ item.option }}' - value='{{ item.value }}' +- name: Add 'authserver' variable values to {{ iiab_ini_file }} + ini_file: + path: "{{ iiab_ini_file }}" + section: authserver + option: "{{ item.option }}" + value: "{{ item.value }}" with_items: - option: name value: XS-authserver - option: description - value: '"xs-authserver implements a seamless web authentication service - using XO laptop registration capabilities. It is heavily inspired - by the Moodle OLPC-XS authentication plugin"' + value: '"authserver (xs-authserver) implements a seamless web authentication + service using XO laptop registration capabilities. It is heavily + inspired by the Moodle OLPC-XS authentication plugin"' - option: port value: 5000 - option: path