# flake8: noqa
# pylint: skip-file

DOCUMENTATION = '''
---
module: oc_project
short_description: Module to manage openshift projects
description:
  - Manage openshift projects programmatically.
options:
  state:
    description:
    - State controls the action that will be taken with resource
    - present - the project will be created if it doesn't exist or update if different.
    - absent - the project will be removed if present.
    - list -  information about the project will be gathered and returned as part of the Ansible call results.
    required: false
    default: present
    choices: ["present", "absent", "list"]
    aliases: []
  kubeconfig:
    description:
    - The path for the kubeconfig file to use for authentication
    required: false
    default: /etc/origin/master/admin.kubeconfig
    aliases: []
  debug:
    description:
    - Turn on debug output.
    required: false
    default: False
    aliases: []
  name:
    description:
    - Name of the object that is being queried.
    required: false
    default: None
    aliases: []
  display_name:
    description:
    - The display name attribute for a project
    required: false
    default: None
    aliases: []
  description:
    description:
    - The description attribute for a project
    required: false
    default: None
    aliases: []
  admin:
    description:
    - The project admin username
    required: false
    default: false
    aliases: []
  admin_role:
    description:
    - The project admin username
    required: false
    default: 'admin'
    aliases: []
  node_selector:
    description:
    - The node selector for this project.
    - This allows certain pods in this project to run on certain nodes.
    required: false
    default: None
    aliases: []
author:
- "Kenny Woodson <kwoodson@redhat.com>"
extends_documentation_fragment: []
'''

EXAMPLES = '''
- name: create secret
  oc_project:
    state: present
    name: openshift-ops
    display_name: operations team project
    node_selector:
    -  top=secret
    -  noncustomer=True
'''
