Rebase ansible installation source
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
6
ansible/roles/os/tasks/ansible.yml
Normal file
6
ansible/roles/os/tasks/ansible.yml
Normal file
@ -0,0 +1,6 @@
|
||||
- name: Install pip-packages
|
||||
ansible.builtin.pip:
|
||||
name: "{{ item }}"
|
||||
executable: pip3
|
||||
state: latest
|
||||
loop: "{{ pip-packages }}"
|
@ -9,3 +9,6 @@
|
||||
|
||||
- name: Install packages
|
||||
import_tasks: packages.yml
|
||||
|
||||
- name: Install ansible
|
||||
import_tasks: ansible.yml
|
||||
|
@ -1,3 +1,11 @@
|
||||
packages:
|
||||
- ansible
|
||||
# (python3-*) Dependency for installation of Ansible
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
- python3-wheel
|
||||
# (libxml2-utils) Dependency for xmllint
|
||||
- libxml2-utils
|
||||
|
||||
pip-packages:
|
||||
- pip
|
||||
- ansible-core
|
||||
|
Reference in New Issue
Block a user