This commit is contained in:
parent
7b847ef503
commit
cac1ab20b2
@ -2,6 +2,7 @@
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
ansible_python_interpreter: /usr/libexec/platform-python
|
||||
smb_shares:
|
||||
- name: multimedia
|
||||
source: //share.example.com/media
|
||||
|
@ -4,6 +4,6 @@
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Install python for Ansible
|
||||
raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
|
||||
raw: test -e /usr/bin/python || (dnf -y install python3 && alternatives --set python /usr/bin/python3)
|
||||
become: true
|
||||
changed_when: false
|
||||
|
Loading…
Reference in New Issue
Block a user