Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document required collections #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@
__pycache__
chocolatey.license.xml
*.pfx
*.nupkg
*.nupkg
collections/ansible_collections/
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ You should provide the following arguments:
| certificate_path | The PFX certificate to use for all HTTPS services. |
| certificate_password | The password for the PFX certificate. |

Depending on the way Ansible has been installed it might be required to install the collections used in this playbook.
Use the following command to install the collections locally to this playbook:

```bash
ansible-galaxy collection install -r collections/requirements.yml -p collections
```

Finally, you can deploy the playbook as follows (using the example hosts file):

`ansible-playbook ./c4b-environment.yml -i ./hosts.yml`
Expand Down
6 changes: 5 additions & 1 deletion collections/requirements.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
---
collections:
- chocolatey.chocolatey
- name: ansible.windows
version: '>=1.5.0' # win_powershell was added in this version
- chocolatey.chocolatey
- community.crypto
- community.windows
...