You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Packages to install using the OS package manager. Packages are removed first and then added.
392
392
* Type: List of dictionaries.
393
393
* Default: See [defaults/main.yml](https://github.com/Linuxfabrik/lfops/blob/main/roles/apache_httpd/defaults/main.yml)
394
394
395
-
Subkeys:
395
+
* Subkeys:
396
+
397
+
* `name`:
398
+
399
+
* Mandatory. The package name.
400
+
* Type: String.
401
+
402
+
* `state`:
396
403
397
-
> `name`
398
-
>
399
-
> * Required. The package name.
400
-
> * Type: String.
401
-
>
402
-
> `state`
403
-
>
404
-
> * State of the package, one of `present`, `absent`.
405
-
> * Type: String.
404
+
* Optional. State of the package, one of `present`, `absent`.
405
+
* Type: String.
406
406
407
407
`apache_httpd__skip_document_root_chown`
408
408
409
409
* Set to true to skip the `chown -R apache:apache` of the document root.
410
-
* Type: Boolean.
410
+
* Type: Bool.
411
411
* Default: `false`
412
412
413
413
`apache_httpd__skip_php_fpm`
414
414
415
415
* Skip PHP-FPM configuration globally and in each vHost within Apache. When set to `false` (default), the role automatically injects PHP-FPM `ProxyPass` directives into app, localhost, and wordpress vHosts.
416
-
* Type: Boolean.
416
+
* Type: Bool.
417
417
* Default: `false`
418
418
419
419
`apache_httpd__systemd_enabled`
420
420
421
421
* Whether the Apache webserver service should start on boot (true) or not (false).
Copy file name to clipboardExpand all lines: roles/example/README.md
+35-6Lines changed: 35 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,11 @@ This role also serves as a reference for consistent role development across LFOp
12
12
If you use the [Example Playbook](https://github.com/Linuxfabrik/lfops/blob/main/playbooks/example.yml), this is automatically done for you.
13
13
14
14
15
+
## Optional Requirements
16
+
17
+
* Install the optional dependency. This can be done using the [linuxfabrik.lfops.optional_dependency](https://github.com/Linuxfabrik/lfops/tree/main/roles/optional_dependency) role.
18
+
19
+
15
20
## Tags
16
21
17
22
`example`
@@ -93,12 +98,36 @@ example__version: '3.2.1'
93
98
* Default: `[]`
94
99
* Subkeys:
95
100
96
-
* `name`: Mandatory, string. Username.
97
-
* `comment`: Optional, string. User description.
98
-
* `group`: Optional, string. Primary group.
99
-
* `home`: Optional, string. Home directory.
100
-
* `shell`: Optional, string. Login shell.
101
-
* `state`: Optional, string. `present` or `absent`. Defaults to `'present'`.
0 commit comments