File tree Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Expand file tree Collapse file tree 3 files changed +11
-15
lines changed Original file line number Diff line number Diff line change
1
+ CERTBOT_SCRIPT = files/certbot.sh
2
+ CERTBOT_WORKDIR = files/certbot.d
1
3
# Run pre-commit checks on all files
2
4
check :
3
5
pre-commit run --all-files
4
6
5
7
# Set up Ansible environment
6
8
# Includes required Ansible collections and pre-commit hooks
7
9
envsetup :
8
- ansible-galaxy collection install ansible.posix community.postgresql containers.podman
10
+ ansible-galaxy collection install --upgrade -r requirements.yml
9
11
pre-commit install
10
12
11
- # Update Ansible environment
12
- # Auto-updates all pre-commit hooks
13
- envupdate :
14
- pre-commit autoupdate
15
-
16
13
# # The following tasks run the certbot helper script
17
14
# # Naming: certbot-(issue|renew)
18
- CERTBOT_SCRIPT =files/certbot.sh
19
- CERTBOT_WORKDIR =files/certbot.d
20
15
21
16
certbot-issue :
22
17
$(CERTBOT_SCRIPT ) $(CERTBOT_WORKDIR ) issue
Original file line number Diff line number Diff line change @@ -34,20 +34,16 @@ Some `make` commands:
34
34
35
35
### Ansible Collections
36
36
37
- Some Ansible roles here depend on additional Ansible collections:
38
-
39
- - ` ansible.posix `
40
- - ` community.postgresql `
41
- - ` containers.podman `
37
+ Some Ansible roles here depend on additional Ansible collections. See [ ` requirements.yml ` ] ( requirements.yml ) for details.
42
38
43
39
### Pre-commit hooks
44
40
45
- Pre-commit hooks are configured. See [ here ] ( .pre-commit-config.yaml ) for details.
41
+ Pre-commit hooks are configured. See [ ` .pre-commit-config.yaml ` ] ( .pre-commit-config.yaml ) for details.
46
42
47
43
To update pre-commit hooks, run:
48
44
49
45
``` bash
50
- make envupdate
46
+ pre-commit autoupdate
51
47
```
52
48
53
49
## Hardware
Original file line number Diff line number Diff line change
1
+ ---
2
+ collections :
3
+ - ansible.posix
4
+ - community.postgresql
5
+ - containers.podman
You can’t perform that action at this time.
0 commit comments