become: true
when: ansible_distribution == 'Ubuntu'
- - name: Install python-tox and deps
- pip:
- name:
- - tox
- - tox-pyenv
- - virtualenv
- - more-itertools~=5.0.0
- - zipp==1.0.0
- state: present
- become: true
-
- name: Install Python 3.6 and packages
apt:
name:
- xvfb
- crudini
- maven
+ - python3-ncclient
update_cache: yes
state: fixed
become: true
become: true
when: ansible_distribution == 'Ubuntu'
+ - name: Install enchant2 package for Ubuntu
+ apt:
+ name:
+ - enchant-2
+ update_cache: yes
+ state: present
+ become: true
+ when: ansible_distribution == 'Ubuntu'
+ - name: Install enchant2 package for CentOS
+ dnf:
+ name:
+ - enchant2
+ update_cache: yes
+ state: present
+ become: true
+ when: ansible_distribution == 'CentOS'