From 0ad79e32bdd0615a2f155404f07b06fc7491dbfa Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Mon, 26 Jun 2023 10:37:09 +0200 Subject: [PATCH] refactor(pb_install.yml): add tags to playbook tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Added tags to the first task for installing k3s server - Added tags to the second task for deploying baseline 🤖 --- pb_install.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pb_install.yml b/pb_install.yml index de5ff14..ad5e355 100644 --- a/pb_install.yml +++ b/pb_install.yml @@ -2,6 +2,7 @@ - hosts: all gather_facts: false name: install k3s server + tags: k3s-server tasks: - name: download k3s install script ansible.builtin.get_url: @@ -27,11 +28,12 @@ fetch: src: /etc/rancher/k3s/k3s.yaml dest: kubeconfig_{{ ansible_host }}.yml - flat: yes + flat: true - hosts: all gather_facts: false name: deploy baseline + tags: baseline tasks: - name: copy manifest ansible.builtin.copy: