ansible / ansible.builtin / v2.5.6 / module / github_issue View GitHub issue. | "added in version" 2.4 of ansible.builtin" Authors: Abhijeet Kasurde (@akasurde) preview | supported by communityansible.builtin.github_issue (v2.5.6) — module
pip
Install with pip install ansible==2.5.6
View GitHub issue for a given repository.
- name: Check if GitHub issue is closed or not github_issue: organization: ansible repo: ansible issue: 23642 action: get_status register: r
- name: Take action depending upon issue status debug: msg: Do something when issue 23642 is open when: r.issue_status == 'open'
repo: default: none description: - Name of repository from which issue needs to be retrieved. required: true issue: default: none description: - Issue number for which information is required. required: true action: choices: - - get_status default: get_status description: - Get various details about issue depending upon action specified. required: false organization: default: none description: - Name of the GitHub organization in which the repository is hosted. required: true
get_status: description: State of the GitHub issue returned: success sample: open, closed type: string