Browse Source

add missing vars, algo tweaks

cobbzilla/introduce_packer
Jonathan Cobb 4 years ago
parent
commit
90f424f5d0
3 changed files with 5 additions and 14 deletions
  1. +4
    -0
      bubble-server/src/main/resources/packer/roles/algo/defaults/main.yml
  2. +0
    -13
      bubble-server/src/main/resources/packer/roles/algo/tasks/algo_packer.yml
  3. +1
    -1
      bubble-server/src/main/resources/packer/roles/algo/tasks/main.yml

+ 4
- 0
bubble-server/src/main/resources/packer/roles/algo/defaults/main.yml View File

@@ -36,3 +36,7 @@ BetweenClients_DROP: true
adblock_lists:
- "https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts"
- "https://hosts-file.net/ad_servers.txt"

strongswan_additional_plugins: []
strongswan_shell: /usr/sbin/nologin
strongswan_home: /var/lib/strongswan

+ 0
- 13
bubble-server/src/main/resources/packer/roles/algo/tasks/algo_packer.yml View File

@@ -152,19 +152,6 @@
# - restart dnscrypt-proxy

# From algo/roles/wireguard/tasks/main.yml
- name: Ensure the required directories exist
file:
dest: "{{ item }}"
state: directory
recurse: true
with_items:
- "{{ wireguard_pki_path }}/preshared"
- "{{ wireguard_pki_path }}/private"
- "{{ wireguard_pki_path }}/public"
- "{{ wireguard_config_path }}"
delegate_to: localhost
become: false

- name: WireGuard repository configured
apt_repository:
repo: ppa:wireguard/wireguard


+ 1
- 1
bubble-server/src/main/resources/packer/roles/algo/tasks/main.yml View File

@@ -13,7 +13,7 @@
get_url:
url: https://github.com/getbubblenow/bubble-dist/raw/master/algo/master.zip
dest: /tmp/algo.zip
checksum: sha256:d6a6c462a916fa2fd64ebb094f304187672ea6a2ec6999a975e228c7a5b67d0a
checksum: sha256:26d4e220e4527a6e7efd997be93c2c7764f7d8b09ea826268dad0371f802cdbb

- name: Unzip algo master.zip
unarchive:


Loading…
Cancel
Save