system-config/playbooks/roles/disable-puppet-agent/tasks/main.yaml
Monty Taylor 5f6c56998e
Add skip: true to disable-puppet-agent
We don't need to do anything on RH as services don't start by default
there.

Change-Id: I38daee0b80006711cb0c4c65aed108ac0c5c215a
2018-08-17 15:38:41 -05:00

14 lines
285 B
YAML

- name: Include OS-specific tasks
include_tasks: "{{ item }}"
vars:
params:
files: "{{ distro_lookup_path }}"
skip: true
loop: "{{ query('first_found', params) }}"
- name: Disable the puppet service
service:
name: puppet
enabled: no
state: stopped