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:
parent
460c1b2d21
commit
0ad79e32bd
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue