The community redhat_subscription module calls `subscription-manager unsusbscribe`, which doesn't exist. Use shell for now.
19 lines
393 B
YAML
19 lines
393 B
YAML
---
|
|
|
|
# Subscribe
|
|
- include_tasks: subscribe.yml
|
|
|
|
# Install various software packages.
|
|
- include_tasks: packages.yml
|
|
|
|
# Configure worker initialization service.
|
|
- include_tasks: worker-initialization-service.yml
|
|
|
|
# Configure the worker.
|
|
- include_tasks: worker-config.yml
|
|
|
|
# Unregister
|
|
- include_tasks: unregister.yml
|
|
|
|
- name: Ensure SELinux contexts are updated
|
|
command: restorecon -Rv /etc
|