fix(docs): add 'become: true' to example playbooks. fix #787 (#804)

Signed-off-by: Sebastian Gumprich <[email protected]>
This commit is contained in:
Sebastian Gumprich authored and GitHub committed 2024-10-09 14:40:08 +02:00
1 parent 6ff5cebeb3
commit 62947a6ea2
5 files changed
+5 -4

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ output_template: |
```
- hosts: all
become: true
roles:
- name: {{ role }}
```
+1 -1
View File
@@ -24,7 +24,6 @@ Further information is available at [Deutsche Telekom (German)](http://www.telek
<!-- BEGIN_ANSIBLE_DOCS -->
## Supported Operating Systems
- EL
- 8, 9
- Ubuntu
@@ -135,6 +134,7 @@ None.
```
- hosts: all
become: true
roles:
- name: devsec.hardening.mysql_hardening
```
+1 -1
View File
@@ -17,7 +17,6 @@ It works with the following nginx-roles, including, but not limited to:
<!-- BEGIN_ANSIBLE_DOCS -->
## Supported Operating Systems
- EL
- 8, 9
- Ubuntu
@@ -142,6 +141,7 @@ None.
```
- hosts: all
become: true
roles:
- name: devsec.hardening.nginx_hardening
```
+1 -1
View File
@@ -145,7 +145,6 @@ This role is mostly based on guides by:
<!-- BEGIN_ANSIBLE_DOCS -->
## Supported Operating Systems
- EL
- 8, 9
- Ubuntu
@@ -999,6 +998,7 @@ None.
```
- hosts: all
become: true
roles:
- name: devsec.hardening.os_hardening
```
+1 -1
View File
@@ -46,7 +46,6 @@ For more information, see [this issue](https://github.com/dev-sec/ansible-collec
<!-- BEGIN_ANSIBLE_DOCS -->
## Supported Operating Systems
- EL
- 8, 9
- Ubuntu
@@ -478,6 +477,7 @@ None.
```
- hosts: all
become: true
roles:
- name: devsec.hardening.ssh_hardening
```