refactor(pb_install.yml): add tags to playbook tasks

- Added tags to the first task for installing k3s server
- Added tags to the second task for deploying baseline

🤖
This commit is contained in:
Sebastian Mark 2023-06-26 10:37:09 +02:00
parent 460c1b2d21
commit 0ad79e32bd

View file

@ -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: