aboutsummaryrefslogtreecommitdiff
path: root/ansible/post-deploy.yml
diff options
context:
space:
mode:
authorMichal Nasiadka <mnasiadka@gmail.com>2025-12-12 09:37:56 +0100
committerMichal Nasiadka <mnasiadka@gmail.com>2026-03-19 13:17:03 +0100
commit21013949cdae545dbb797d149d7e4bcfa1378ea7 (patch)
treeed0a276279a6f31a36023abbddf406697b1cf9e4 /ansible/post-deploy.yml
parent545699daaa752de92d388796ce9bb7fdac1adb17 (diff)
downloadkolla-ansible-21013949cdae545dbb797d149d7e4bcfa1378ea7.tar.gz
kolla-ansible-21013949cdae545dbb797d149d7e4bcfa1378ea7.zip
ansible-lint: Fix fqcn[actions-core] in playbooks
Also add all failed roles into ignore and these will be removed in subsequent patches Change-Id: Ifa6f2725cfa93cb14d72daf27448bd58f186acfd Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
Diffstat (limited to 'ansible/post-deploy.yml')
-rw-r--r--ansible/post-deploy.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml
index 93c24cc77..6cd079814 100644
--- a/ansible/post-deploy.yml
+++ b/ansible/post-deploy.yml
@@ -4,12 +4,12 @@
gather_facts: false
tasks:
- name: Get stats of {{ node_config }}
- stat:
+ ansible.builtin.stat:
path: "{{ node_config }}"
register: st
- name: Set become fact
- set_fact:
+ ansible.builtin.set_fact:
needs_root: "{{ not (st.stat.writeable | bool) }}"
- name: Creating clouds.yaml file on the deploy node
@@ -17,7 +17,7 @@
tasks:
- name: Template out clouds.yaml
become: "{{ needs_root }}"
- template:
+ ansible.builtin.template:
src: "roles/common/templates/clouds.yaml.j2"
dest: "{{ node_config }}/clouds.yaml"
owner: "{{ ansible_facts.user_uid }}"
@@ -29,7 +29,7 @@
tasks:
- name: Template out admin-openrc.sh
become: "{{ needs_root }}"
- template:
+ ansible.builtin.template:
src: "roles/common/templates/admin-openrc.sh.j2"
dest: "{{ node_config }}/admin-openrc.sh"
owner: "{{ ansible_facts.user_uid }}"
@@ -38,7 +38,7 @@
- name: Template out admin-openrc-system.sh
become: "{{ needs_root }}"
- template:
+ ansible.builtin.template:
src: "roles/common/templates/admin-openrc-system.sh.j2"
dest: "{{ node_config }}/admin-openrc-system.sh"
owner: "{{ ansible_facts.user_uid }}"
@@ -47,7 +47,7 @@
- name: Template out public-openrc.sh
become: "{{ needs_root }}"
- template:
+ ansible.builtin.template:
src: "roles/common/templates/public-openrc.sh.j2"
dest: "{{ node_config }}/public-openrc.sh"
owner: "{{ ansible_facts.user_uid }}"
@@ -56,7 +56,7 @@
- name: Template out public-openrc-system.sh
become: "{{ needs_root }}"
- template:
+ ansible.builtin.template:
src: "roles/common/templates/public-openrc-system.sh.j2"
dest: "{{ node_config }}/public-openrc-system.sh"
owner: "{{ ansible_facts.user_uid }}"
@@ -64,7 +64,7 @@
mode: "0600"
- name: Template out octavia-openrc.sh
- import_role:
+ ansible.builtin.import_role:
name: octavia
tasks_from: openrc.yml
vars: