Commit 148a84f2 by George Song

Use `systemd` module from Ansible 2

parent f5ea5ed2
......@@ -76,8 +76,8 @@
- name: create xvfb systemd service
template: src=xvfb.service.j2 dest=/etc/systemd/system/xvfb.service owner=root group=root
- name: register xvfb systemd service
shell: systemctl enable /etc/systemd/system/xvfb.service
- name: start xvfb
service: name=xvfb state=started
- name: enable and start xvfb systemd service
systemd:
name: xvfb
enabled: yes
state: started
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment