vars:
delegate_facts_host: True
+ dashboard_enabled: False
+
+ environment:
+ DEBIAN_FRONTEND: noninteractive
pre_tasks:
# If we can't get python2 installed before any module is used we will fail
when:
- systempython2.stat is undefined or systempython2.stat.exists == false
+ # Ansible will try to auto-install python-apt, in some systems this might be
+ # python3-apt, or python-apt, and it has caused whole runs to fail because
+ # it is trying to do an interactive prompt
+ - name: install python-apt and aptitude in debian based systems
+ raw: sudo apt-get -y install "{{ item }}"
+ ignore_errors: yes
+ with_items:
+ - python3-apt
+ - python-apt
+ - aptitude
+
- name: install python2 for fedora
raw: sudo dnf -y install python creates=/usr/bin/python
ignore_errors: yes
gather_facts: false
become: True
any_errors_fatal: true
+ vars:
+ dashboard_enabled: False
tasks:
- import_role:
name: ceph-defaults
- name: rsync ceph-volume to test nodes on centos
synchronize:
src: "{{ toxinidir }}/../../../../ceph_volume"
- dest: "/usr/lib/python2.7/site-packages"
+ dest: "/usr/lib/python3.6/site-packages"
use_ssh_args: true
when:
- ansible_os_family == "RedHat"