Skip to content

Commit

Permalink
Sync example from README.md and example playbook
Browse files Browse the repository at this point in the history
  • Loading branch information
msekletar authored and richm committed Nov 13, 2023
1 parent 291f12e commit e1397a5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ present on the managed host.
- name: Deploy and start systemd unit
hosts: all
vars:
systemd_unit_files:
- foo.service
systemd_unit_file_templates:
- foo.service.j2
systemd_started_units:
- foo.service
systemd_enabled_units:
Expand Down
9 changes: 6 additions & 3 deletions examples/simple.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@
- name: Deploy and start systemd unit
hosts: all
vars:
systemd_unit_files: ['foo.service']
systemd_started_units: ['foo.service']
systemd_enabled_units: ['foo.service']
systemd_unit_file_templates:
- foo.service.j2
systemd_started_units:
- foo.service
systemd_enabled_units:
- foo.service
roles:
- linux-system-roles.systemd

0 comments on commit e1397a5

Please sign in to comment.