new_system.yml 487 B

12345678910111213141516171819
  1. ---
  2. - name: Configure the system
  3. hosts: servera.lab.example.com
  4. become: true
  5. gather_facts: true
  6. tasks:
  7. - name: Ensure the system is registered with Insights
  8. include_role:
  9. name: redhat.insights.insights_client
  10. vars:
  11. auto_config: false
  12. insights_proxy: http://proxy.example.com:8080
  13. - name: Ensure SELinux mode is Enforcing
  14. include_role:
  15. name: redhat.rhel_system_roles.selinux
  16. vars:
  17. selinux_state: enforcing