diff options
| author | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-03-06 20:34:31 -0700 |
|---|---|---|
| committer | Carlos Konstanski <ckonstanski@pippiandcarlos.com> | 2018-03-06 20:43:26 -0700 |
| commit | 093d72b9ada627cdc99ff8a6228b6ddb84de121b (patch) | |
| tree | 4286333a945bf25dce51c84de5c197154577bf8b /salt | |
| parent | 51607550665306a30142a76dc3362108131de4c4 (diff) | |
Support pure systemd hosts
Issue: IS-75
Diffstat (limited to 'salt')
| -rw-r--r-- | salt/openbook/ansible/files/openbook.yaml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/salt/openbook/ansible/files/openbook.yaml b/salt/openbook/ansible/files/openbook.yaml index a9ad449..df51b22 100644 --- a/salt/openbook/ansible/files/openbook.yaml +++ b/salt/openbook/ansible/files/openbook.yaml @@ -158,7 +158,10 @@ when: ansible_distribution == "Gentoo" and ansible_service_mgr == "systemd" - name: "Add service script to systemd" - shell: systemctl enable openbook + shell: "systemctl enable {% raw %}{{ item }}{% endraw %}.service" + with_items: + - openbook + - openbook-debug when: ansible_distribution == "Ubuntu" or ansible_distribution == "RedHat" or ansible_distribution == "CentOS" or (ansible_distribution == "Gentoo" and ansible_service_mgr == "systemd") - name: "Enable openbook service" |
