Difference between revisions of "Ansible Tags"

From rbachwiki
Jump to navigation Jump to search
(Created page with "=Ansible Tags= ''' Tags are the reference or alias to a task'''")
 
Line 1: Line 1:
=Ansible Tags=
=Ansible Tags=
''' Tags are the reference or alias to a task'''
''' Tags are the reference or alias to a task'''
---
- name: setup apache ser er
  hosts: localhost
  tasks:
    apt:
      name: apache2
      state: present
    tags: i-apache

Revision as of 21:07, 13 July 2022

Ansible Tags

Tags are the reference or alias to a task

---
- name: setup apache ser er
  hosts: localhost
  tasks:
    apt:
      name: apache2
      state: present
   tags: i-apache