Skip to content

Commit

Permalink
fix: Correct domain names and ansible conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
Guergeiro committed Sep 21, 2024
1 parent f76b61b commit 1f1dcf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
8 changes: 0 additions & 8 deletions host_vars/lisbon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ base_hostname: "brenosalles.com"
cloudflare_domains:
- {
proxy: "false",
domain: "vpn.{{ base_hostname }}"
}
- {
proxy: "false",
domain: "ssh.{{ base_hostname }}"
}
- {
proxy: "true",
domain: "lisbon.{{ base_hostname }}"
}
- {
Expand Down
4 changes: 2 additions & 2 deletions hosts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ machines:
ansible_connection: local
ansible_python_interpreter: /usr/bin/python3
lisbon:
ansible_host: ssh.brenosalles.com
ansible_host: lisbon.brenosalles.com
ansible_port: !vault |
$ANSIBLE_VAULT;1.1;AES256
34653739386634323131393866383434373163326461313465383332393065373165653661386431
Expand All @@ -17,7 +17,7 @@ machines:
ansible_connection: ssh
ansible_ssh_private_key_file: /home/breno/.ssh/Lisbon
viseu:
ansible_host: viseu.local
ansible_host: viseu.brenosalles.com
ansible_port: !vault |
$ANSIBLE_VAULT;1.1;AES256
34653739386634323131393866383434373163326461313465383332393065373165653661386431
Expand Down
4 changes: 2 additions & 2 deletions roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- name: Create general docker network
when:
- docker_generate_network|bool == True
- docker_generate_network | default(False) == True
community.docker.docker_network:
name: docker_network
state: present
Expand All @@ -20,7 +20,7 @@

- name: Stop all containers every day at 4:40 AM
when:
- docker_stop_containers|bool == True
- docker_stop_containers | default(False) == True
cron:
name: "Stop all containers every day at 4:40 AM"
minute: "40"
Expand Down

0 comments on commit 1f1dcf2

Please sign in to comment.