Skip to content

Commit 62947a6

Browse files
authored
fix(docs): add 'become: true' to example playbooks. fix #787 (#804)
Signed-off-by: Sebastian Gumprich <[email protected]>
1 parent 6ff5ceb commit 62947a6

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

.aar_doc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ output_template: |
4343
4444
```
4545
- hosts: all
46+
become: true
4647
roles:
4748
- name: {{ role }}
4849
```

roles/mysql_hardening/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ Further information is available at [Deutsche Telekom (German)](http://www.telek
2424
<!-- BEGIN_ANSIBLE_DOCS -->
2525

2626
## Supported Operating Systems
27-
2827
- EL
2928
- 8, 9
3029
- Ubuntu
@@ -135,6 +134,7 @@ None.
135134

136135
```
137136
- hosts: all
137+
become: true
138138
roles:
139139
- name: devsec.hardening.mysql_hardening
140140
```

roles/nginx_hardening/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ It works with the following nginx-roles, including, but not limited to:
1717
<!-- BEGIN_ANSIBLE_DOCS -->
1818

1919
## Supported Operating Systems
20-
2120
- EL
2221
- 8, 9
2322
- Ubuntu
@@ -142,6 +141,7 @@ None.
142141

143142
```
144143
- hosts: all
144+
become: true
145145
roles:
146146
- name: devsec.hardening.nginx_hardening
147147
```

roles/os_hardening/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ This role is mostly based on guides by:
145145
<!-- BEGIN_ANSIBLE_DOCS -->
146146

147147
## Supported Operating Systems
148-
149148
- EL
150149
- 8, 9
151150
- Ubuntu
@@ -999,6 +998,7 @@ None.
999998

1000999
```
10011000
- hosts: all
1001+
become: true
10021002
roles:
10031003
- name: devsec.hardening.os_hardening
10041004
```

roles/ssh_hardening/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ For more information, see [this issue](https://github.com/dev-sec/ansible-collec
4646
<!-- BEGIN_ANSIBLE_DOCS -->
4747

4848
## Supported Operating Systems
49-
5049
- EL
5150
- 8, 9
5251
- Ubuntu
@@ -478,6 +477,7 @@ None.
478477

479478
```
480479
- hosts: all
480+
become: true
481481
roles:
482482
- name: devsec.hardening.ssh_hardening
483483
```

0 commit comments

Comments
 (0)