From a21471be9b3e0b33e143016aa1c18e8597c1dd9e Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Sat, 12 Feb 2022 17:44:25 -0500 Subject: [PATCH] fixes to make it run --- ansible/playbooks/files/user_lxc.yml | 1 - ansible/playbooks/setup-distributed.yml | 3 +++ ansible/playbooks/tasks/init-nodes.yml | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible/playbooks/files/user_lxc.yml b/ansible/playbooks/files/user_lxc.yml index 5db6fec..a27b479 100644 --- a/ansible/playbooks/files/user_lxc.yml +++ b/ansible/playbooks/files/user_lxc.yml @@ -1,5 +1,4 @@ --- -lxc_container_base_name: "rocky-8-amd64" lxc_hosts_container_build_command: "dnf --assumeyes --installroot=/var/lib/machines/{{ lxc_container_base_name }} install --setopt=install_weak_deps=False --nodocs rootfiles coreutils dnf rocky-release rocky-repos --releasever=8" diff --git a/ansible/playbooks/setup-distributed.yml b/ansible/playbooks/setup-distributed.yml index b388028..88ee06d 100644 --- a/ansible/playbooks/setup-distributed.yml +++ b/ansible/playbooks/setup-distributed.yml @@ -27,6 +27,9 @@ tasks: - name: Initialize nodes include_tasks: tasks/init-nodes.yml + args: + apply: + tags: 'init' tags: init - name: Reboot diff --git a/ansible/playbooks/tasks/init-nodes.yml b/ansible/playbooks/tasks/init-nodes.yml index 57da194..303b5c3 100644 --- a/ansible/playbooks/tasks/init-nodes.yml +++ b/ansible/playbooks/tasks/init-nodes.yml @@ -99,7 +99,7 @@ tags: repos - name: fetch patch - ansible.builtin.shell: 'git fetch https://review.opendev.org/openstack/openstack-ansible refs/changes/73/823573/6 && git checkout FETCH_HEAD' + ansible.builtin.shell: 'git fetch https://review.opendev.org/openstack/openstack-ansible refs/changes/73/823573/8 && git checkout FETCH_HEAD' args: chdir: /opt/openstack-ansible/