Adding option for not configuring firewall

This commit is contained in:
Tyler Hale 2022-08-23 08:16:12 -06:00
parent 825e667ba9
commit e0ecbe4eab
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96
4 changed files with 9 additions and 2 deletions

View file

@ -30,7 +30,7 @@ If the "base_core_hostname" variable is defined, it is recommended to set the an
| base_core_ssh_permit_root_login | Yes | False | True, False | Permits the use of root logins for ssh |
| base_core_timezone | No | America/Boise | | Defines the timezone to apply to the client |
| base_core_web_management | Yes | False | True, False | Enables installation of the Cockpit web management package(s) |
| base_core_firewall_configure | No | True | True, False | Allows the firewall to be configured |
## Example

View file

@ -17,6 +17,12 @@ base_core_management_user_disable_password: false
# Install all available updates at runtime
base_core_install_updates: true
# Firewall
# ========
# Allows the firewall to be configured
base_core_firewall_configure: true
# Hostname
# ========
@ -65,7 +71,6 @@ base_core_cert_common_name: "{{ ansible_facts['nodename'] }}"
# Defines the timezone to apply to the client
base_core_timezone: "America/Boise"
# Web Management
# ==============

View file

@ -36,5 +36,6 @@
file: debian_firewall.yml
apply:
tags: firewall
when: base_core_firewall_configure == true
tags:
- firewall

View file

@ -37,5 +37,6 @@
file: redhat_firewall.yml
apply:
tags: firewall
when: base_core_firewall_configure == true
tags:
- firewall