diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 6b4f9bf..fb89b46 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -1,5 +1,8 @@ vn_first_time: false vn_witness_checked: false +deb_packages: + - https://apt.verdnatura.es/pool/main/v/vn-host/vn-apt-source_3.0.1_all.deb + - https://apt.verdnatura.es/pool/main/v/vn-host/vn-host_3.0.1_all.deb grub_user: admin default_user: user fail2ban: diff --git a/roles/debian-base/tasks/vn-repo.yml b/roles/debian-base/tasks/vn-repo.yml index bd85ca4..c3db0ca 100644 --- a/roles/debian-base/tasks/vn-repo.yml +++ b/roles/debian-base/tasks/vn-repo.yml @@ -1,3 +1,4 @@ - name: Install package apt: - deb: "{{ vn_host_url }}" + deb: "{{ item }}" + with_items: "{{ deb_packages }}" diff --git a/run-playbook.sh b/run-playbook.sh index de94a02..2670ca6 100755 --- a/run-playbook.sh +++ b/run-playbook.sh @@ -2,7 +2,7 @@ EXTRA_ARGS=() -OPTSTRING="i:l:" +OPTSTRING=":i:l:" while getopts ${OPTSTRING} opt; do case ${opt} in i)