ansible/host: Use Python3 on CentOS 7
authorMartin Schwenke <martin@meltin.net>
Fri, 15 May 2020 09:45:12 +0000 (19:45 +1000)
committerMartin Schwenke <martin@meltin.net>
Tue, 26 May 2020 03:27:39 +0000 (13:27 +1000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
ansible/host/autocluster_setup_centos7.yml

index eab4c99e4d9dc46133013db4b0e1eb9320acdab9..32c69c99bd042168c794f6a7063bb35775af5bc7 100644 (file)
@@ -4,9 +4,12 @@
   hosts: localhost
 
   tasks:
-  - name: dependencies for Vagrant libvirt plugin
+  - name: python3 installed
     package:
       name:
+      - epel-release
+      - python3
+
       - libvirt-devel
 
   - name: install latest vagrant rpm
@@ -23,8 +26,8 @@
   - name: dependencies for virt_pool module
     package:
       name:
-      - libvirt-python
-      - python-lxml
+      - python36-libvirt
+      - python36-lxml
       state: present
 
   - name: ensure /virtual/autocluster exists