Skip to content

Commit

Permalink
Adding squid in Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
bbaassssiiee committed Dec 13, 2024
1 parent 141121a commit 21055d8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
20 changes: 14 additions & 6 deletions provision.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,21 @@
run this shell command before this playbook:
read -sp "Enter ssh key passphrase: " SSH_PASS && export SSH_PASS ; echo
- name: Forward Proxy
hosts: proxy
become: true
gather_facts: true
tags: [proxy]
roles:
- role: semaphore
- name: Install Docker
when: use_docker | bool
ansible.builtin.include_role:
name: geerlingguy.docker

- name: Install Squid proxy
ansible.builtin.import_role:
name: proxy
tags: [proxy]

- name: Tools
hosts: semaphore
Expand All @@ -61,11 +74,6 @@
- semaphore

tasks:
- name: Install Docker
when: use_docker | bool
ansible.builtin.include_role:
name: geerlingguy.docker

- name: Install OpenTofu
when: use_opentofu | bool
ansible.builtin.include_role:
Expand Down
3 changes: 3 additions & 0 deletions roles/requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@ roles:
- src: bbaassssiiee.nginx_ssl
name: nginx
version: 1.0.5
- src: bbaassssiiee.proxy
name: proxy
version: 1.0.3

0 comments on commit 21055d8

Please sign in to comment.