Skip to content

Commit 3bb0f77

Browse files
authored
Merge pull request sap-linuxlab#1163 from sap-linuxlab/dev
collection: Merge dev to main for release 1.8.1
2 parents 76cc967 + bb6313f commit 3bb0f77

43 files changed

Lines changed: 1347 additions & 1069 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGELOG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,24 @@ community.sap\_install Release Notes
44

55
.. contents:: Topics
66

7+
v1.8.1
8+
======
9+
10+
Release Summary
11+
---------------
12+
13+
improvements and bug fixes
14+
15+
Bugfixes
16+
--------
17+
18+
- collection - Update readme formatting to align with galaxy format (https://github.com/sap-linuxlab/community.sap_install/pull/1148)
19+
- sap*preconfigure - Sync with SAP notes for RHEL 10 (https://github.com/sap-linuxlab/community.sap_install/pull/1161)
20+
- sap_general_preconfigure - Prevent an accidental change to a lower SELinux mode (https://github.com/sap-linuxlab/community.sap_install/pull/1154)
21+
- sap_ha_pacemaker_cluster - Add fence_aws for SLES 16 and remove Tech Debt (https://github.com/sap-linuxlab/community.sap_install/pull/1151)
22+
- sap_hana_install - Revert wrong conditional from PR#1138 (https://github.com/sap-linuxlab/community.sap_install/pull/1147)
23+
- sap_swpm - Sanitize conditions for 2.19 (https://github.com/sap-linuxlab/community.sap_install/pull/1159)
24+
725
v1.8.0
826
======
927

CONTRIBUTORS.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
2525

2626
| Name | Commits | Lines Changed | Last Commit |
2727
| ---- | ------- | ------------- | ----------- |
28-
| [Bernd Finger](https://github.com/berndfinger) | 855 | 70847 | 2025-12-10 |
28+
| [Bernd Finger](https://github.com/berndfinger) | 865 | 71536 | 2026-02-11 |
2929
| [Janine Fuchs](https://github.com/ja9fuchs) | 472 | 27970 | 2025-08-14 |
3030
| [Sean Freeman](https://github.com/sean-freeman) | 213 | 25561 | 2025-02-28 |
31-
| [Marcel Mamula](https://github.com/marcelmamula) | 116 | 40076 | 2026-01-06 |
31+
| [Marcel Mamula](https://github.com/marcelmamula) | 123 | 42222 | 2026-01-30 |
3232
| [Nils Koenig](https://github.com/newkit) | 81 | 19806 | 2024-01-29 |
3333
| [Markus Koch](https://github.com/rhmk) | 76 | 3462 | 2024-12-27 |
3434
| [Markus Moster](https://github.com/mmoster) | 65 | 7983 | 2022-06-28 |
3535
| [Gabriele Puliti](https://github.com/Wabri) | 46 | 2544 | 2024-08-02 |
36-
| [Rob Dobozy](https://github.com/rob0d) | 31 | 820 | 2025-03-24 |
36+
| [Rob Dobozy](https://github.com/rob0d) | 34 | 836 | 2026-01-13 |
3737
| [Rainer Leber](https://github.com/rainerleber) | 17 | 1209 | 2023-02-01 |
3838
| [Steven Stringer](https://github.com/mr-stringer) | 8 | 586 | 2022-12-14 |
3939
| Roberto Nozaki | 6 | 116 | 2024-03-09 |
@@ -54,7 +54,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
5454
| Name | Commits | Lines Changed | Last Commit |
5555
| ---- | ------- | ------------- | ----------- |
5656
| [Sean Freeman](https://github.com/sean-freeman) | 15 | 3832 | 2024-02-14 |
57-
| [Marcel Mamula](https://github.com/marcelmamula) | 6 | 588 | 2025-09-26 |
57+
| [Marcel Mamula](https://github.com/marcelmamula) | 7 | 589 | 2026-01-21 |
5858
| [Bernd Finger](https://github.com/berndfinger) | 5 | 54 | 2024-07-23 |
5959
| Roberto Nozaki | 4 | 110 | 2024-01-18 |
6060
| [Gabriele Puliti](https://github.com/Wabri) | 1 | 9 | 2024-06-25 |
@@ -65,8 +65,8 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
6565

6666
| Name | Commits | Lines Changed | Last Commit |
6767
| ---- | ------- | ------------- | ----------- |
68-
| [Bernd Finger](https://github.com/berndfinger) | 172 | 11318 | 2025-08-13 |
69-
| [Marcel Mamula](https://github.com/marcelmamula) | 25 | 3343 | 2025-11-25 |
68+
| [Bernd Finger](https://github.com/berndfinger) | 176 | 11520 | 2026-02-11 |
69+
| [Marcel Mamula](https://github.com/marcelmamula) | 26 | 3420 | 2026-01-21 |
7070
| [Markus Koch](https://github.com/rhmk) | 8 | 220 | 2024-12-27 |
7171
| [Rob Dobozy](https://github.com/rob0d) | 5 | 47 | 2025-03-12 |
7272
| [Sean Freeman](https://github.com/sean-freeman) | 3 | 12 | 2024-05-29 |
@@ -81,7 +81,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
8181
| Name | Commits | Lines Changed | Last Commit |
8282
| ---- | ------- | ------------- | ----------- |
8383
| [Sean Freeman](https://github.com/sean-freeman) | 26 | 3316 | 2024-07-22 |
84-
| [Marcel Mamula](https://github.com/marcelmamula) | 3 | 243 | 2025-09-26 |
84+
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 247 | 2026-01-21 |
8585
| [Janine Fuchs](https://github.com/ja9fuchs) | 1 | 2 | 2024-11-27 |
8686
| [Bernd Finger](https://github.com/berndfinger) | 1 | 7 | 2024-07-23 |
8787

@@ -91,7 +91,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
9191
| ---- | ------- | ------------- | ----------- |
9292
| [Janine Fuchs](https://github.com/ja9fuchs) | 52 | 1440 | 2025-08-14 |
9393
| [Markus Moster](https://github.com/mmoster) | 28 | 734 | 2022-06-24 |
94-
| [Marcel Mamula](https://github.com/marcelmamula) | 11 | 2777 | 2025-12-02 |
94+
| [Marcel Mamula](https://github.com/marcelmamula) | 12 | 2779 | 2026-01-21 |
9595
| [Bernd Finger](https://github.com/berndfinger) | 11 | 440 | 2024-07-23 |
9696
| [Markus Koch](https://github.com/rhmk) | 9 | 114 | 2022-07-20 |
9797
| [Sean Freeman](https://github.com/sean-freeman) | 2 | 10 | 2022-09-13 |
@@ -103,7 +103,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
103103
| Name | Commits | Lines Changed | Last Commit |
104104
| ---- | ------- | ------------- | ----------- |
105105
| [Janine Fuchs](https://github.com/ja9fuchs) | 195 | 16084 | 2025-02-27 |
106-
| [Marcel Mamula](https://github.com/marcelmamula) | 56 | 16838 | 2025-09-30 |
106+
| [Marcel Mamula](https://github.com/marcelmamula) | 58 | 18495 | 2026-01-29 |
107107
| [Sean Freeman](https://github.com/sean-freeman) | 12 | 391 | 2024-05-23 |
108108
| [Bernd Finger](https://github.com/berndfinger) | 6 | 78 | 2025-02-17 |
109109
| [Rob Dobozy](https://github.com/rob0d) | 3 | 7 | 2025-01-08 |
@@ -115,7 +115,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
115115
| Name | Commits | Lines Changed | Last Commit |
116116
| ---- | ------- | ------------- | ----------- |
117117
| [Bernd Finger](https://github.com/berndfinger) | 197 | 11444 | 2025-12-10 |
118-
| [Marcel Mamula](https://github.com/marcelmamula) | 21 | 5122 | 2025-11-24 |
118+
| [Marcel Mamula](https://github.com/marcelmamula) | 23 | 5205 | 2026-01-21 |
119119
| [Markus Koch](https://github.com/rhmk) | 13 | 454 | 2022-11-22 |
120120
| Sjoerd Lubbers | 4 | 21 | 2025-04-16 |
121121
| [Sean Freeman](https://github.com/sean-freeman) | 3 | 11 | 2023-09-27 |
@@ -131,8 +131,8 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
131131

132132
| Name | Commits | Lines Changed | Last Commit |
133133
| ---- | ------- | ------------- | ----------- |
134-
| [Bernd Finger](https://github.com/berndfinger) | 164 | 13638 | 2025-11-21 |
135-
| [Marcel Mamula](https://github.com/marcelmamula) | 32 | 4076 | 2025-11-25 |
134+
| [Bernd Finger](https://github.com/berndfinger) | 165 | 13717 | 2026-02-11 |
135+
| [Marcel Mamula](https://github.com/marcelmamula) | 33 | 4196 | 2026-01-21 |
136136
| [Gabriele Puliti](https://github.com/Wabri) | 14 | 308 | 2024-07-23 |
137137
| [Rainer Leber](https://github.com/rainerleber) | 11 | 51 | 2023-02-01 |
138138
| [Sean Freeman](https://github.com/sean-freeman) | 10 | 158 | 2024-07-18 |
@@ -148,7 +148,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
148148
| Name | Commits | Lines Changed | Last Commit |
149149
| ---- | ------- | ------------- | ----------- |
150150
| [Bernd Finger](https://github.com/berndfinger) | 15 | 616 | 2024-07-23 |
151-
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 741 | 2025-09-30 |
151+
| [Marcel Mamula](https://github.com/marcelmamula) | 5 | 752 | 2026-01-21 |
152152
| [Janine Fuchs](https://github.com/ja9fuchs) | 2 | 11 | 2025-02-14 |
153153
| [Gabriele Puliti](https://github.com/Wabri) | 1 | 11 | 2024-06-25 |
154154
| Irina Gulina | 1 | 16 | 2024-01-03 |
@@ -160,7 +160,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
160160
| ---- | ------- | ------------- | ----------- |
161161
| [Bernd Finger](https://github.com/berndfinger) | 162 | 10927 | 2025-07-28 |
162162
| [Sean Freeman](https://github.com/sean-freeman) | 31 | 2750 | 2024-06-26 |
163-
| [Marcel Mamula](https://github.com/marcelmamula) | 4 | 942 | 2025-09-30 |
163+
| [Marcel Mamula](https://github.com/marcelmamula) | 5 | 979 | 2026-01-21 |
164164
| [Gabriele Puliti](https://github.com/Wabri) | 1 | 20 | 2024-06-25 |
165165
| [Janine Fuchs](https://github.com/ja9fuchs) | 1 | 2 | 2024-01-12 |
166166
| Irina Gulina | 1 | 6 | 2024-01-03 |
@@ -170,7 +170,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
170170
| Name | Commits | Lines Changed | Last Commit |
171171
| ---- | ------- | ------------- | ----------- |
172172
| [Bernd Finger](https://github.com/berndfinger) | 15 | 248 | 2025-08-13 |
173-
| [Marcel Mamula](https://github.com/marcelmamula) | 6 | 537 | 2025-09-26 |
173+
| [Marcel Mamula](https://github.com/marcelmamula) | 7 | 543 | 2026-01-21 |
174174
| [Gabriele Puliti](https://github.com/Wabri) | 1 | 9 | 2024-06-25 |
175175
| [Janine Fuchs](https://github.com/ja9fuchs) | 1 | 2 | 2024-01-12 |
176176
| Irina Gulina | 1 | 14 | 2024-01-03 |
@@ -181,7 +181,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
181181
| Name | Commits | Lines Changed | Last Commit |
182182
| ---- | ------- | ------------- | ----------- |
183183
| [Bernd Finger](https://github.com/berndfinger) | 64 | 2416 | 2025-09-24 |
184-
| [Marcel Mamula](https://github.com/marcelmamula) | 24 | 2293 | 2025-11-25 |
184+
| [Marcel Mamula](https://github.com/marcelmamula) | 25 | 2303 | 2026-01-21 |
185185
| [Rainer Leber](https://github.com/rainerleber) | 9 | 243 | 2023-02-01 |
186186
| [Sean Freeman](https://github.com/sean-freeman) | 6 | 66 | 2024-07-17 |
187187
| [Steven Stringer](https://github.com/mr-stringer) | 4 | 237 | 2022-12-13 |
@@ -195,7 +195,7 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
195195
| Name | Commits | Lines Changed | Last Commit |
196196
| ---- | ------- | ------------- | ----------- |
197197
| [Janine Fuchs](https://github.com/ja9fuchs) | 53 | 3475 | 2024-01-12 |
198-
| [Marcel Mamula](https://github.com/marcelmamula) | 9 | 1025 | 2026-01-06 |
198+
| [Marcel Mamula](https://github.com/marcelmamula) | 10 | 1047 | 2026-01-21 |
199199
| [Sean Freeman](https://github.com/sean-freeman) | 9 | 744 | 2024-07-23 |
200200
| [Bernd Finger](https://github.com/berndfinger) | 8 | 61 | 2025-02-17 |
201201
| [Gabriele Puliti](https://github.com/Wabri) | 1 | 17 | 2024-06-25 |
@@ -205,10 +205,10 @@ For specific role maintainers, see the `README.md` file in the corresponding rol
205205

206206
| Name | Commits | Lines Changed | Last Commit |
207207
| ---- | ------- | ------------- | ----------- |
208-
| [Bernd Finger](https://github.com/berndfinger) | 124 | 9137 | 2025-09-05 |
208+
| [Bernd Finger](https://github.com/berndfinger) | 128 | 9205 | 2026-02-09 |
209209
| [Sean Freeman](https://github.com/sean-freeman) | 70 | 2303 | 2024-06-20 |
210-
| [Rob Dobozy](https://github.com/rob0d) | 19 | 655 | 2025-01-14 |
211-
| [Marcel Mamula](https://github.com/marcelmamula) | 9 | 1843 | 2025-11-25 |
210+
| [Rob Dobozy](https://github.com/rob0d) | 21 | 669 | 2026-01-13 |
211+
| [Marcel Mamula](https://github.com/marcelmamula) | 10 | 1890 | 2026-01-27 |
212212
| [Markus Koch](https://github.com/rhmk) | 6 | 68 | 2022-11-16 |
213213
| [Janine Fuchs](https://github.com/ja9fuchs) | 5 | 76 | 2024-01-12 |
214214
| [Markus Moster](https://github.com/mmoster) | 3 | 2 | 2022-06-09 |

README.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
This Ansible Collection executes various SAP Software installations and configuration tasks for various SAP solutions and deployment scenarios on supported Linux operating systems.
88

99
Included roles cover range of tasks:
10+
1011
- Preparation of Operating system and SAP installation media before installation
1112
- Installation of SAP Database, either SAP HANA or Oracle Database
1213
- Installation of SAP Products, like SAP S4HANA, SAP BW4HANA, SAP Netweaver, SAP Solution Manager and others.
@@ -15,28 +16,20 @@ Included roles cover range of tasks:
1516

1617
## Requirements
1718

18-
### Control Nodes
19-
Operating system:
20-
- Any operating system with required Python and Ansible versions.
21-
22-
Python: 3.11 or higher
23-
24-
Ansible: 9.9.x
25-
26-
Ansible-core: 2.16.x
27-
28-
**NOTE: Ansible 10 and ansible-core 2.17.x are not supported, because of breaking changes requiring higher Python version on managed nodes.**
29-
30-
### Managed Nodes
31-
Operating system:
32-
- SUSE Linux Enterprise Server for SAP applications 15 SP5+ (SLE4SAP)
33-
- Red Hat Enterprise Linux for SAP Solutions 8.x 9.x (RHEL4SAP)
19+
| Component | Control Node | Managed Node |
20+
| --- | --- | --- |
21+
| Operating System | Any OS | Red Hat Enterprise Linux for SAP Solutions 8.x, 9.x and 10.x<br>SUSE Linux Enterprise Server for SAP applications 15 SP5, 15 SP6, 15 SP7 and 16.0 |
22+
| Python | 3.11 or higher | 3.9 or higher |
23+
| Ansible-Core | 2.18 or higher | N/A |
24+
| Ansible | 12 or higher | N/A |
3425

35-
**NOTE: Operating system needs to have access to required package repositories either directly or via subscription registration.**
26+
> **Managed Node Registration**<br>
27+
> Operating system needs to have access to required package repositories either directly or via subscription registration.
3628
29+
**Additional notes:**
3730

38-
Python: 3.6 or higher
39-
31+
- **Version Compatibility:** For a detailed mapping of supported Python versions and Ansible-Core lifecycles, refer to the official [Ansible-Core Support Matrix](https://docs.ansible.com/projects/ansible/latest/reference_appendices/release_and_maintenance.html#ansible-core-support-matrix).
32+
- **Control Node Permissions:** Ensure the user executing the playbooks has the necessary SSH keys and sudo privileges configured for the target environment.
4033

4134
## Installation Instructions
4235

@@ -73,6 +66,7 @@ See [Installing collections](https://docs.ansible.com/ansible/latest/collections
7366
## Use Cases
7467

7568
### Example Scenarios
69+
7670
- Preparation of Operating system for SAP installation
7771
- Preparation of SAP installation media for SAP installation
7872
- Installation of SAP HANA (including High Availability with replication) or Oracle Database
@@ -85,7 +79,7 @@ More deployment scenarios are available in [ansible.playbooks_for_sap](https://g
8579
All included roles can be executed independently or as part of [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) playbooks.
8680

8781
| Name | Summary |
88-
| :--- | :--- |
82+
| --- | --- |
8983
| [sap_anydb_install_oracle](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_anydb_install_oracle) | Install Oracle DB 19.x for SAP |
9084
| [sap_general_preconfigure](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_general_preconfigure) | Configure general OS settings for SAP software |
9185
| [sap_ha_install_hana_hsr](https://github.com/sap-linuxlab/community.sap_install/tree/main/roles/sap_ha_install_hana_hsr) | Configure and enable SAP HANA System Replication |
@@ -104,20 +98,25 @@ All included roles can be executed independently or as part of [ansible.playbook
10498
This Ansible Collection was tested across different Operating Systems, SAP products and scenarios. You can find examples of some of them below.
10599

106100
Operating systems:
107-
- SUSE Linux Enterprise Server for SAP applications 15 SP5+ (SLE4SAP)
108-
- Red Hat Enterprise Linux for SAP Solutions 8.x 9.x (RHEL4SAP)
101+
102+
- Red Hat Enterprise Linux for SAP Solutions 8.x, 9.x and 10.x
103+
- SUSE Linux Enterprise Server for SAP applications 15 SP5, 15 SP6, 15 SP7 and 16.0
109104

110105
Deployment scenarios:
106+
111107
- All scenarios included in [ansible.playbooks_for_sap](https://github.com/sap-linuxlab/ansible.playbooks_for_sap) repository
112108

113109
SAP Products:
110+
114111
- SAP S/4HANA AnyPremise (1809, 1909, 2020, 2021, 2022, 2023) with setup as Standard, Distributed, High Availability and optional Maintenance Planner or Restore System Copy
115112
- SAP Business Suite (ECC) on HANA and SAP Business Suite (ECC) with SAP AnyDB - SAP ASE, SAP MaxDB, IBM Db2, Oracle DB
116113
- SAP BW/4HANA (2021, 2023) with setup as Standard or Scale-Out
117114
- SAP HANA 2.0 (SPS04+) with setup as Scale-Up, Scale-Out, High Availability
118115
- Other SAP installation activities; such as System Rename, System Copy Export, SAP Solution Manager and SAP Web Dispatcher
119116

120-
**NOTE: It is not possible to test every Operating System and SAP Product combination with every release. Testing is regularly done for common scenarios: SAP HANA, SAP HANA HA, SAP S4HANA Distributed HA**
117+
> **Testing Disclaimer**<br>
118+
> It is not possible to test every Operating System and SAP Product combination with every release.<br>
119+
> Testing is regularly done for common scenarios: SAP HANA, SAP HANA HA, SAP S4HANA Distributed HA**
121120
122121

123122
## Contributing

changelogs/changelog.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,14 @@ releases:
391391
- sap_ha_pacemaker_cluster - Fix linting errors (https://github.com/sap-linuxlab/community.sap_install/pull/1119)
392392
- sap_hostagent - Fix linting errors (https://github.com/sap-linuxlab/community.sap_install/pull/1121)
393393
- sap_install_media_detect - Fix linting errors (https://github.com/sap-linuxlab/community.sap_install/pull/1120)
394+
1.8.1:
395+
release_date: '2026-02-12'
396+
changes:
397+
release_summary: improvements and bug fixes
398+
bugfixes:
399+
- collection - Update readme formatting to align with galaxy format (https://github.com/sap-linuxlab/community.sap_install/pull/1148)
400+
- sap*preconfigure - Sync with SAP notes for RHEL 10 (https://github.com/sap-linuxlab/community.sap_install/pull/1161)
401+
- sap_general_preconfigure - Prevent an accidental change to a lower SELinux mode (https://github.com/sap-linuxlab/community.sap_install/pull/1154)
402+
- sap_ha_pacemaker_cluster - Add fence_aws for SLES 16 and remove Tech Debt (https://github.com/sap-linuxlab/community.sap_install/pull/1151)
403+
- sap_hana_install - Revert wrong conditional from PR#1138 (https://github.com/sap-linuxlab/community.sap_install/pull/1147)
404+
- sap_swpm - Sanitize conditions for 2.19 (https://github.com/sap-linuxlab/community.sap_install/pull/1159)

docs/getting_started/secure-your-passwords.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Use ansible-vault to encrypt the string, which it reads from the file. Adding th
2929
ansible-vault encrypt_string $(cat passfile) -n my_secret_var
3030
```
3131

32-
Ansible-vault will ask to enter a vault password, which is required to decrypt the value during ansible runtime afterwards.
32+
Ansible-vault will ask to enter a vault password, which is required to decrypt the value during ansible runtime afterwards.<br>
3333
Consider this the "master key" for your vault-encrypted credentials.
3434

3535
```text
@@ -45,7 +45,7 @@ my_secret_var: !vault |
4545
Encryption successful
4646
```
4747

48-
Save the `my_secret_var` and encrypted multi-line value in your variable definitions and include the definition file as usual.
48+
Save the `my_secret_var` and encrypted multi-line value in your variable definitions and include the definition file as usual.<br>
4949
The variable can as well be referenced and used by other variables for more flexibility.
5050

5151
```yaml
@@ -62,7 +62,7 @@ rm passfile
6262

6363
## Run playbook which uses vault-encrypted content
6464

65-
As soon as a vault-encrypted value is present in your playbook, ansible will require the vault password to be entered for playbook execution.
65+
As soon as a vault-encrypted value is present in your playbook, ansible will require the vault password to be entered for playbook execution.<br>
6666
Add `--ask-vault` to your `ansible-playbook` command to prompt for this "master key" password and allow secure decryption.
6767

6868
```bash
@@ -75,7 +75,7 @@ _When encrypting multiple values that will be used together, you have to make su
7575

7676
You can also encrypt an entire file, e.g. containing multiple secrets.
7777

78-
However, if variables are defined in the file it will encrypt the variable names as well and makes it harder to identify the source definition of a referenced variable.
78+
However, if variables are defined in the file it will encrypt the variable names as well and makes it harder to identify the source definition of a referenced variable.<br>
7979
Also, encrypting the entire file will require ansible-vault commands to view or edit the contents of the file. A file containing individually encrypted values can be viewed and edited as any other file without uncovering the actual secret value.
8080

8181
`ansible-vault` will prompt for the vault password - either to be created for a new encrypted file, or to be used for decrypting existing content (for view or edit operations).
@@ -87,7 +87,7 @@ ansible-vault view file_containing_secrets.yml
8787
ansible-vault edit file_containing_secrets.yml
8888
```
8989

90-
This file can be included into a playbook similar to any other file include.
90+
This file can be included into a playbook similar to any other file include.<br>
9191
The playbook will only be usable when the correct vault password is provided to `ansible-playbook` for the runtime, see above.
9292

9393
## More features and information

0 commit comments

Comments
 (0)