SP
Size: a a a
SP
E
g
ansible_python_interpreter: /usr/bin/python3в доке написано что yum не поддерживается и нужно использовать dnf, но когда в playbook пишу
dnf: name=libselinux-python
ругается:fatal: [default]: FAILED! => {"changed": false, "cmd": "dnf install -y python3-dnf", "msg": "[Errno 2] Нет такого файла или каталога: b'dnf': b'dnf'", "rc": 2}куда копать?
AD
AD
VF
AD
AD
АП
M
Any copy, script, template or include tasks (in the role) can reference files in roles/x/{files,templates,tasks}/ (dir depends on task) without having to path them relatively or absolutely.у меня есть файл
roles/xxx/files/config.yml
(называть его main.yml?)- name: Finer container restart/update controlнепонятен этот момент
community.general.docker_container:
name: test
image: ubuntu:18.04
volumes:
- config.yml:/etc/xxx/config.yml
AD
Any copy, script, template or include tasks (in the role) can reference files in roles/x/{files,templates,tasks}/ (dir depends on task) without having to path them relatively or absolutely.у меня есть файл
roles/xxx/files/config.yml
(называть его main.yml?)- name: Finer container restart/update controlнепонятен этот момент
community.general.docker_container:
name: test
image: ubuntu:18.04
volumes:
- config.yml:/etc/xxx/config.yml
PG
M
error: read /etc/xxx/config.yml:
AD
error: read /etc/xxx/config.yml:
AD
M
AD
AD
M
M