Skip to content

Commit

Permalink
Make hosts configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
Chad Cravens authored and Chad Cravens committed Oct 6, 2024
1 parent 4a86ad3 commit 048ff23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ system_is_container: false
# Place to find the container yml file for your environment - /vars/... This can be adjusted for your requirements.
container_vars_file: is_container.yml

hosts: all

os_check: true
# rhel8cis is left off the front of this var for consistency in testing pipeline
# system_is_ec2 toggle will disable tasks that fail on Amazon EC2 instances. Set true to skip and false to run tasks
Expand Down
2 changes: 1 addition & 1 deletion site.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: Run RHEL8 CIS hardening
hosts: all
hosts: "{{ hosts }}"
become: true

roles:
Expand Down

0 comments on commit 048ff23

Please sign in to comment.