-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added some example playbooks Signed-off-by: Joerg Kastning <[email protected]> * Fixed the name of the task to match the semantic. Signed-off-by: Joerg Kastning <[email protected]> * Fixed yamllint error: too few spaces after comma. Signed-off-by: Joerg Kastning <[email protected]> * Add the missing space as @richm has suggested. Co-authored-by: Richard Megginson <[email protected]> Signed-off-by: Joerg Kastning <[email protected]> Co-authored-by: Richard Megginson <[email protected]>
- Loading branch information
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Disable cockpit and dhcpv6-client service in default zone | ||
hosts: "{{ targets }}" | ||
|
||
vars: | ||
firewall: | ||
- service: [cockpit, dhcpv6-client] | ||
state: disabled | ||
roles: | ||
- linux-system-roles.firewall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Enable http and https service in default zone | ||
hosts: "{{ targets }}" | ||
|
||
vars: | ||
firewall: | ||
- service: [http, https] | ||
state: enabled | ||
roles: | ||
- linux-system-roles.firewall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- name: Erase existing config and enable ssh service | ||
hosts: "{{ targets }}" | ||
|
||
vars: | ||
firewall: | ||
- previous: replaced | ||
- service: ssh | ||
state: enabled | ||
roles: | ||
- linux-system-roles.firewall |