Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ara_playbook_label
# Would create the label if it doesn't exist
# Description is optional but can be provided
# Appends the label to playbook.labels for state.present
# Removes the label from playbook.labels for state.absent
- name: Label this playbook
ara_playbook_label:
name: "{{ item }}"
state: present
loop:
- pre-run
- "{{ ansible_os_distribution }}"
- "{{ lookup('env','USER') }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.