get python3 working again

This commit is contained in:
Neil Hanlon 2022-02-12 17:04:54 -05:00
parent 42ee7d8e9d
commit e5ba379366
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
3 changed files with 10 additions and 3 deletions

View File

@ -94,8 +94,9 @@
- name: patch the thing
args:
chdir: /etc/ansible/roles/os_nova/
ansible.builtin.shell: patch -p1 < /tmp/os_nova.patch
when: do_patch | default(true) | bool
creates: /etc/ansible/roles/os_nova/.patched
ansible.builtin.shell: 'patch -p1 < /tmp/os_nova.patch && touch .patched'
- name: Disable SSH Agent Forwarding
lineinfile:

View File

@ -141,7 +141,7 @@
user: root
state: present
key: "{{ lookup('file', 'files/buffer/infra-id_rsa.pub') }}"
when: tag.find("infra") == -1 and sshkey_fetch
when: tag.find("infra") == -1 and sshkey_fetch | default(false)
tags: sshkey
#- name: Setup a hosts file for the static deployment

View File

@ -16,9 +16,15 @@
with_items:
- python38-lxc-3.0.4-11.el8.x86_64.rpm
# @TODO - fix this to not be shit
- name: Install neil/lxc3.0 copr
become: yes
shell: "dnf -y copr enable neil/lxc3.0"
- name: Install package
ansible.builtin.dnf:
name: "{{ item }}"
disable_gpg_check: yes # @TODO NO
with_items:
- https://download.copr.fedorainfracloud.org/results/neil/lxc3.0/epel-8-x86_64/03253339-lxc/lxc-4.0.10-2.el8.x86_64.rpm
- https://download.copr.fedorainfracloud.org/results/neil/lxc3.0/epel-8-x86_64/03253339-lxc/lxc-devel-4.0.10-2.el8.x86_64.rpm