Bertrand Lanson
09d0304748
All checks were successful
development / Check commit compliance (push) Successful in 32s
22 lines
570 B
YAML
22 lines
570 B
YAML
---
|
|
# task/prerequisites file for cni
|
|
- name: "CNI Plugins | Create group {{ cni_group }}"
|
|
ansible.builtin.group:
|
|
name: "{{ cni_user }}"
|
|
state: present
|
|
|
|
- name: "CNI Plugins | Create user {{ cni_user }}"
|
|
ansible.builtin.user:
|
|
name: "{{ cni_user }}"
|
|
group: "{{ cni_group }}"
|
|
shell: /bin/false
|
|
state: present
|
|
|
|
- name: "CNI Plugins | Create directory {{ cni_plugins_install_path }}"
|
|
ansible.builtin.file:
|
|
path: "{{ cni_plugins_install_path }}"
|
|
state: directory
|
|
owner: "{{ cni_user }}"
|
|
group: "{{ cni_group }}"
|
|
mode: "0755"
|