Fix var reference;Install packages;Change DHCP identifier to MAC
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Danny Bessems 2022-06-25 08:28:44 +02:00
parent 4d78d65ad8
commit fc23dc068d
3 changed files with 18 additions and 2 deletions

View File

@ -8,7 +8,7 @@
- name: Download & install static binaries - name: Download & install static binaries
ansible.builtin.get_url: ansible.builtin.get_url:
url: "{{ item.url }}" url: "{{ item.url }}"
dest: "/usr/local/bin/{{ item.name }}" dest: "/usr/local/bin/{{ item.filename }}"
owner: root owner: root
group: root group: root
mode: 0755 mode: 0755
@ -19,6 +19,18 @@
cmd: "ansible-galaxy collection install {{ item }}" cmd: "ansible-galaxy collection install {{ item }}"
loop: "{{ dependencies.ansible_galaxy_collections }}" loop: "{{ dependencies.ansible_galaxy_collections }}"
- name: Install distro packages
ansible.builtin.apt:
name: "{{ item }}"
update_cache: yes
install_recommends: no
loop: "{{ dependencies.distro_packages }}"
- name: Update all packages
ansible.builtin.apt:
name: *
state: latest
- block: - block:
- name: Download Helm binary - name: Download Helm binary

View File

@ -25,5 +25,8 @@ dependencies:
- kubernetes.core - kubernetes.core
static_binaries: static_binaries:
- binary: yq - filename: yq
url: http://github.com/mikefarah/yq/releases/download/v4.25.2/yq_linux_amd64 url: http://github.com/mikefarah/yq/releases/download/v4.25.2/yq_linux_amd64
packages:
- skopeo

View File

@ -11,6 +11,7 @@ autoinstall:
ethernets: ethernets:
ens192: ens192:
dhcp4: true dhcp4: true
dhcp-identifier: mac
storage: storage:
layout: layout:
name: direct name: direct