Skip to content

Commit

Permalink
refactor(vars): docker vars section
Browse files Browse the repository at this point in the history
  • Loading branch information
netr0m committed Jul 15, 2024
1 parent 8977e66 commit 4d71066
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions defaults/main/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@ infra_directory_owner: "{{ infra_user_name }}"
infra_directory_group: "{{ infra_group_name }}"
infra_directory_mode: 740

### Services ###
### Docker ###
# Default restart policy
infra_restart_policy: 'always'
infra_restart_policy: always
# Max. wait time for compose deployment
infra_compose_wait_timeout: 60

### Services ###
# Whether to force pull container images
infra_force_pull: false
# Configure Graylog
Expand Down
5 changes: 5 additions & 0 deletions vars/main/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
### Docker ###
# Shared labels for the Docker volumes
infra_docker_volume_shared_labels:
netr0m.ansible-role: infra

# Environment variables for the Unifi container
infra_unifi_env_vars:
PUID: "{{ infra_user_uid | string }}"
Expand Down

0 comments on commit 4d71066

Please sign in to comment.