ansible-lockdown / RHEL8-STIG

Ansible role for Red Hat 8 STIG Baseline
https://ansible-lockdown.readthedocs.io
MIT License
99 stars 58 forks source link

Hosts are not configurable #305

Open ccravens opened 1 month ago

ccravens commented 1 month ago

Feature Request or Enhancement

Summary of Request In site.yml, hosts is not configurable and is hard-coded to all

- name: Run RHEL8 CIS hardening
  hosts: all
  become: true

  roles:

      - role: "{{ playbook_dir }}"

Describe Alternatives You've Considered A clear and concise description of any alternative solutions or features you've considered.

Suggested Code Submitting PR that adds a hosts variable to defaults, defaulted to all and uses the variable in the site.yml file.

uk-bolly commented 3 weeks ago

hi @ccravens

Thank you again or this, i have fed back on the PR.

Many thanks

uk-bolly