Skip to content

Commit

Permalink
Add managed label
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth D. Evensen committed Aug 5, 2017
1 parent 225743b commit 04ea966
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,15 @@
persistentvolumeclaims: "{{ pvc_quota }}"
validate_certs: "{{ validate_certs }}"
token: "{{ ansible_sa_token }}"

- name: Add Managed Label
oc:
state: present
inline:
kind: Namespace
metadata:
name: "{{ project_name }}"
labels:
ansible_managed: 'true'
validate_certs: "{{ validate_certs }}"
token: "{{ ansible_sa_token }}"

0 comments on commit 04ea966

Please sign in to comment.