Ansible Task Creates option issue

Python не может найти вашу установку numpy, возможно, вы можете попробовать с помощью apt-get install python-numpy?

2
20.05.2017, 17:02
1 ответ

Это будет работать

---
- hosts: all
  become: yes
  tasks:
    - name: Check existence of /tmp/hosted
      shell: test -e /tmp/hosted
      register: hostedfile
      ignore_errors: yes

    - name: Ensure NTP (for time synchronization) is installed.
      yum:  name=ntp state=present
      when: hostedfile.rc != 0
1
27.01.2020, 22:18

Теги

Похожие вопросы