Skip to content

Commit 521ca9d

Browse files
committed
xmpp2: instruction to use ansible-galaxy
1 parent d20cbe1 commit 521ca9d

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

xmpp2/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,16 @@ xmpp2 host
1111

1212
How to Deploy
1313
-------------
14-
1. Copy `hosts.example.ini` to `hosts.ini`, fix the host connection details if needed.
15-
2. Copy `vars/vars.example.yml` to `vars/vars.yml` and adjust it accordingly.
16-
3. Copy `vars/secrets.example.yml` to `vars/secrets.yml` and adjust it accordingly.
17-
4. `ansible-vault encrypt vars/secrets.yml`
18-
5. To **check the results** without applying, run `ansible-playbook --ask-vault-pass --ask-become-pass --check --diff default.yml`.
14+
1. Install the requirements: `ansible-galaxy collection install --requirements-file ../requirements.yml`
15+
2. Copy `hosts.example.ini` to `hosts.ini`, fix the host connection details if needed.
16+
3. Copy `vars/vars.example.yml` to `vars/vars.yml` and adjust it accordingly.
17+
4. Copy `vars/secrets.example.yml` to `vars/secrets.yml` and adjust it accordingly.
18+
5. `ansible-vault encrypt vars/secrets.yml`
19+
6. To **check the results** without applying, run `ansible-playbook --ask-vault-pass --ask-become-pass --check --diff default.yml`.
1920

2021
To **deploy**, run `ansible-playbook --ask-vault-pass --ask-become-pass default.yml`.
2122

22-
If on Windows, feel free to use scripts `ansible-vault.ps1`, `ansible-playbook.ps1` as a substitute to use Ansible from WSL.
23+
If on Windows, feel free to use scripts `ansible-galaxy.ps1`, `ansible-vault.ps1`, `ansible-playbook.ps1` as a substitute to use Ansible from WSL.
2324

2425
If running deployment for the first time, then run `ansible-playbook --ask-vault-pass auth.yml` to set up the user accounts and access properly.
2526

xmpp2/ansible-galaxy.ps1

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# SPDX-FileCopyrightText: 2025 Friedrich von Never <[email protected]>
2+
#
3+
# SPDX-License-Identifier: MIT
4+
5+
wsl --distribution Ubuntu ansible-galaxy @args

0 commit comments

Comments
 (0)